mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Check "result" in dup_all(), by Florian Obser.
git-svn-id: file:///svn/unbound/trunk@4598 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
39f6488471
commit
5fabe62e70
2 changed files with 4 additions and 1 deletions
|
|
@ -1,3 +1,6 @@
|
||||||
|
29 March 2018: Ralph
|
||||||
|
- Check "result" in dup_all(), by Florian Obser.
|
||||||
|
|
||||||
23 March 2018: Ralph
|
23 March 2018: Ralph
|
||||||
- Fix unbound-control get_option aggressive-nsec
|
- Fix unbound-control get_option aggressive-nsec
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5946,7 +5946,7 @@ static char*
|
||||||
dup_all(char* str)
|
dup_all(char* str)
|
||||||
{
|
{
|
||||||
char* result = strdup(str);
|
char* result = strdup(str);
|
||||||
if(!str) {
|
if(!result) {
|
||||||
log_err("malloc failure");
|
log_err("malloc failure");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue