From: Ralph Dolmans Date: Thu, 29 Mar 2018 08:02:26 +0000 (+0000) Subject: - Check "result" in dup_all(), by Florian Obser. X-Git-Tag: release-1.7.1rc1~66 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5fabe62e704ea084d7ba4c216df496ccfe495b73;p=thirdparty%2Funbound.git - Check "result" in dup_all(), by Florian Obser. git-svn-id: file:///svn/unbound/trunk@4598 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/doc/Changelog b/doc/Changelog index cbcd18795..bceef7279 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +29 March 2018: Ralph + - Check "result" in dup_all(), by Florian Obser. + 23 March 2018: Ralph - Fix unbound-control get_option aggressive-nsec diff --git a/services/authzone.c b/services/authzone.c index 13e36b2cb..fac8e4ed1 100644 --- a/services/authzone.c +++ b/services/authzone.c @@ -5946,7 +5946,7 @@ static char* dup_all(char* str) { char* result = strdup(str); - if(!str) { + if(!result) { log_err("malloc failure"); return NULL; }