Skip to content

Commit

Permalink
Allow SIGINT (Ctrl-C) to stop the fuzzer
Browse files Browse the repository at this point in the history
  • Loading branch information
paxed committed Dec 17, 2023
1 parent 3d27d8e commit a2aa4ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/end.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a2aa4ed

Please sign in to comment.