From: Arran Cudbard-Bell Date: Tue, 2 Nov 2021 14:49:50 +0000 (-0400) Subject: Have the fuzzer print out talloc errors X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1af988b136578663ab168ab79f08700e94ddd7b3;p=thirdparty%2Ffreeradius-server.git Have the fuzzer print out talloc errors --- diff --git a/src/bin/fuzzer.c b/src/bin/fuzzer.c index 2bcde981ec3..afcbbd0416a 100644 --- a/src/bin/fuzzer.c +++ b/src/bin/fuzzer.c @@ -77,6 +77,11 @@ int LLVMFuzzerInitialize(int *argc, char ***argv) */ fr_atexit_global_setup(); + /* + * Initialise the talloc fault handlers. + */ + fr_talloc_fault_setup(); + /* * Initialise the error stack _before_ we run any * tests so there's no chance of the memory