diff options
-rw-r--r-- | include/afl-record-compat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/afl-record-compat.h b/include/afl-record-compat.h index 2c79595d..677d47b0 100644 --- a/include/afl-record-compat.h +++ b/include/afl-record-compat.h @@ -24,7 +24,7 @@ unsigned char fuzz_buf[FUZZ_BUF_SIZE]; int __afl_persistent_loop(unsigned int max_cnt) { - static unsigned int cycle_cnt = 1; + static unsigned int cycle_cnt = 2; static unsigned short int inited = 0; char tcase[PATH_MAX]; @@ -32,7 +32,7 @@ int __afl_persistent_loop(unsigned int max_cnt) { if (!inited) { - cycle_cnt = replay_record_cnt; + cycle_cnt = replay_record_cnt+1; inited = 1; } |