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; }