mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-10 03:47:42 +02: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:
@@ -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
|
||||
|
||||
|
||||
+1
-1
@@ -5946,7 +5946,7 @@ static char*
|
||||
dup_all(char* str)
|
||||
{
|
||||
char* result = strdup(str);
|
||||
if(!str) {
|
||||
if(!result) {
|
||||
log_err("malloc failure");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user