From d97c174f50da650b0c599038e7f92634eaad2214 Mon Sep 17 00:00:00 2001 From: "W.C.A. Wijngaards" Date: Thu, 23 Feb 2023 13:38:29 +0100 Subject: [PATCH] - Fix for #852: Completion of error handling. --- doc/Changelog | 3 +++ testcode/lock_verify.c | 2 ++ 2 files changed, 5 insertions(+) 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; }