From: W.C.A. Wijngaards Date: Thu, 23 Feb 2023 12:38:29 +0000 (+0100) Subject: - Fix for #852: Completion of error handling. X-Git-Tag: release-1.19.0rc1~38^2~23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d97c174f50da650b0c599038e7f92634eaad2214;p=thirdparty%2Funbound.git - Fix for #852: Completion of error handling. --- diff --git a/doc/Changelog b/doc/Changelog index b8a923bcf..e95b76bb5 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -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 diff --git a/testcode/lock_verify.c b/testcode/lock_verify.c index b0cffe292..0958ff0ba 100644 --- a/testcode/lock_verify.c +++ b/testcode/lock_verify.c @@ -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; }