about summary refs log tree commit diff
path: root/src/afl-showmap.c
diff options
context:
space:
mode:
authorNils Bars <nils.bars@rub.de>2022-10-24 17:52:04 +0200
committerNils Bars <nils.bars@rub.de>2022-10-24 17:54:03 +0200
commit102b749c0734165f1cb121397e4a4c307666b8eb (patch)
treed2a090fa114ede2091e752d3116ba8742f3dbcbb /src/afl-showmap.c
parent7512316b46a25180729ff8c568a6061a0ab19fea (diff)
downloadafl++-102b749c0734165f1cb121397e4a4c307666b8eb.tar.gz
AFL_FORK_SERVER_KILL_SIGNAL backwards compatiblity
If `AFL_KILL_SIGNAL` is set, `AFL_FORK_SERVER_KILL_SIGNAL` is set
to the same value.
Diffstat (limited to 'src/afl-showmap.c')
-rw-r--r--src/afl-showmap.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/afl-showmap.c b/src/afl-showmap.c
index 80a9e766..19288c04 100644
--- a/src/afl-showmap.c
+++ b/src/afl-showmap.c
@@ -1260,10 +1260,7 @@ int main(int argc, char **argv_orig, char **envp) {
                                  : 0);
     be_quiet = save_be_quiet;
 
-    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);
 
     if (new_map_size) {