mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-17 04:18:06 +00:00
AFL_FORK_SERVER_KILL_SIGNAL backwards compatiblity
If `AFL_KILL_SIGNAL` is set, `AFL_FORK_SERVER_KILL_SIGNAL` is set to the same value.
This commit is contained in:
@ -1115,10 +1115,7 @@ int main(int argc, char **argv_orig, char **envp) {
|
||||
|
||||
}
|
||||
|
||||
fsrv.child_kill_signal =
|
||||
parse_afl_kill_signal(getenv("AFL_KILL_SIGNAL"), SIGKILL);
|
||||
fsrv.fsrv_kill_signal =
|
||||
parse_afl_kill_signal(getenv("AFL_FORK_SERVER_KILL_SIGNAL"), SIGTERM);
|
||||
configure_afl_kill_signals(&fsrv, NULL, NULL);
|
||||
|
||||
|
||||
read_initial_file();
|
||||
|
Reference in New Issue
Block a user