This commit is contained in:
vanhauser-thc
2021-03-06 23:12:44 +01:00
parent 7f062524c9
commit 517db1b8dc
2 changed files with 3 additions and 2 deletions

View File

@ -989,7 +989,6 @@ int main(int argc, char **argv_orig, char **envp) {
if (unlikely(afl->afl_env.afl_persistent_record)) {
afl->fsrv.persistent_record = atoi(afl->afl_env.afl_persistent_record);
afl->fsrv.persistent_record_dir = alloc_printf("%s/crashes", afl->out_dir);
if (afl->fsrv.persistent_record < 2) {
@ -1533,6 +1532,8 @@ int main(int argc, char **argv_orig, char **envp) {
}
afl->fsrv.persistent_record_dir = alloc_printf("%s/crashes", afl->out_dir);
}
if (afl->shmem_testcase_mode) { setup_testcase_shmem(afl); }