Skip to content

RestartingMgr: Fix SIGNAL_RECURSION_EXIT mismatch#3852

Open
Mrmaxmeier wants to merge 1 commit into
AFLplusplus:mainfrom
Mrmaxmeier:fix-crash-handler-SIGNAL_RECURSION_EXIT-mismatch
Open

RestartingMgr: Fix SIGNAL_RECURSION_EXIT mismatch#3852
Mrmaxmeier wants to merge 1 commit into
AFLplusplus:mainfrom
Mrmaxmeier:fix-crash-handler-SIGNAL_RECURSION_EXIT-mismatch

Conversation

@Mrmaxmeier

Copy link
Copy Markdown
Contributor

SIGNAL_RECURSION_EXIT has always been 101.
Exit code 139 is the standard SIGSEGV one.

This somehow changed during a refactor commit (#3612), not sure what happened there. Using the actual SIGNAL_RECURSION_EXIT constant instead of 139 allows RestartingMgr to handle cases where the PUT crashes with a SIGSEGV. Without the patch the fuzzer errors out instead of continuing to fuzz.

SIGNAL_RECURSION_EXIT has always been 101.
Exit code 139 is the standard SIGSEGV one.

This somehow changed during a refactor commit, not sure what happened
there. using the actual SIGNAL_RECURSION_EXIT constant instead of 139
allows `RestartingMgr` to handle cases where the PUT crashes with a
SIGSEGV. Without the patch the fuzzer errors out instead of continuing
to fuzz.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant