From 5378eaa7f2dcbd4568d2a12c06558c901b1febb2 Mon Sep 17 00:00:00 2001 From: "Gavin D. Howard" Date: Tue, 18 Jun 2024 16:21:46 -0600 Subject: [PATCH] Add an assert for OSS-Fuzz debugging Signed-off-by: Gavin D. Howard --- src/dc_fuzzer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dc_fuzzer.c b/src/dc_fuzzer.c index adaf486a..f2ba6e29 100644 --- a/src/dc_fuzzer.c +++ b/src/dc_fuzzer.c @@ -108,5 +108,7 @@ LLVMFuzzerTestOneInput(const uint8_t* Data, size_t Size) free(bc_fuzzer_data); + assert(false); + return s == BC_STATUS_SUCCESS || s == BC_STATUS_QUIT ? 0 : -1; }