diff options
author | vanhauser-thc <vh@thc.org> | 2022-04-08 09:31:39 +0200 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2022-04-08 09:31:39 +0200 |
commit | 891f4d3c8e58ed06b0131673f9c58606f5d99978 (patch) | |
tree | 056196cd9268bc71f9d56f830b6e69b5b02d1d87 /src/afl-fuzz-bitmap.c | |
parent | 3261e86a3a5f5d2078a88b955f2a61cea99d7ed6 (diff) | |
download | afl++-891f4d3c8e58ed06b0131673f9c58606f5d99978.tar.gz |
correct counting for tmouts
Diffstat (limited to 'src/afl-fuzz-bitmap.c')
-rw-r--r-- | src/afl-fuzz-bitmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afl-fuzz-bitmap.c b/src/afl-fuzz-bitmap.c index cdcc1d4a..0f6f0778 100644 --- a/src/afl-fuzz-bitmap.c +++ b/src/afl-fuzz-bitmap.c @@ -611,7 +611,6 @@ save_if_interesting(afl_state_t *afl, void *mem, u32 len, u8 fault) { } - ++afl->saved_tmouts; is_timeout = 0x80; #ifdef INTROSPECTION if (afl->custom_mutators_count && afl->current_custom_fuzz) { @@ -665,6 +664,7 @@ save_if_interesting(afl_state_t *afl, void *mem, u32 len, u8 fault) { if (afl->stop_soon || new_fault != FSRV_RUN_TMOUT) { + ++afl->saved_tmouts; goto save_to_queue; } |