- 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:
Ralph Dolmans 2018-03-29 08:02:26 +00:00
parent 39f6488471
commit 5fabe62e70
2 changed files with 4 additions and 1 deletions

View file

@ -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

View file

@ -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;
} }