diff options
author | Cornelius Aschermann <eqv@fb.com> | 2024-05-15 17:09:05 -0700 |
---|---|---|
committer | Cornelius Aschermann <eqv@fb.com> | 2024-05-17 14:33:32 -0700 |
commit | 6dd5e931fcd50908ff3c02f31e49f8cd751eaff3 (patch) | |
tree | 8a0aca06702fd8cac1ca78ebe0148709740184cf /src/afl-fuzz-run.c | |
parent | 1db3b81d2eb855167dcf65734f8833a2329609da (diff) | |
download | afl++-6dd5e931fcd50908ff3c02f31e49f8cd751eaff3.tar.gz |
Fix runtime underflow & -V exiting before syncing
print_stats sets exit_soon even while syncing, this leaves -V 0 still broken, as we don't finish syncing. Additionally, the change that introduced the previous -V fix also broke the runtime tracking, as runtime needs to include all time including sync, splice etc. This caused an underflow in the reported runtime.
Diffstat (limited to 'src/afl-fuzz-run.c')
-rw-r--r-- | src/afl-fuzz-run.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/afl-fuzz-run.c b/src/afl-fuzz-run.c index 2a55da00..bfd35e5c 100644 --- a/src/afl-fuzz-run.c +++ b/src/afl-fuzz-run.c @@ -1193,4 +1193,3 @@ common_fuzz_stuff(afl_state_t *afl, u8 *out_buf, u32 len) { return 0; } - |