]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix for #852: Completion of error handling.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 23 Feb 2023 12:38:29 +0000 (13:38 +0100)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 23 Feb 2023 12:38:29 +0000 (13:38 +0100)
doc/Changelog
testcode/lock_verify.c

index b8a923bcfc6d2aab6ce7ee419577947cbf981630..e95b76bb5e299f9bb3f4f5a58a9db9740d19d350 100644 (file)
@@ -1,3 +1,6 @@
+23 February 2023: Wouter
+       - Fix for #852: Completion of error handling.
+
 21 February 2023: Philip
        - Fix #825: Unexpected behavior with client-subnet-always-forward
          and serve-expired
index b0cffe292ae170ba8b59b79e98e89886af1614bd..0958ff0ba38e1d8c1580d726507a37555b762b48 100644 (file)
@@ -177,6 +177,8 @@ static int readup_str(char** str, FILE* in)
        }
        buf[len] = 0;
        *str = strdup(buf);
+       if(!*str)
+               fatal_exit("strdup failed: out of memory");
        return 1;
 }