From a2aa4edd51d949f45c213e719d7b357419421a03 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Sun, 17 Dec 2023 11:28:13 +0200 Subject: [PATCH] Allow SIGINT (Ctrl-C) to stop the fuzzer --- src/end.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/end.c b/src/end.c index c426004015..d8637c585c 100644 --- a/src/end.c +++ b/src/end.c @@ -556,6 +556,7 @@ done1(int sig_unused UNUSED) #ifndef NO_SIGNAL (void) signal(SIGINT, SIG_IGN); #endif + iflags.debug_fuzzer = FALSE; if (flags.ignintr) { #ifndef NO_SIGNAL (void) signal(SIGINT, (SIG_RET_TYPE) done1);