aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2022-04-08 09:31:39 +0200
committervanhauser-thc <vh@thc.org>2022-04-08 09:31:39 +0200
commit891f4d3c8e58ed06b0131673f9c58606f5d99978 (patch)
tree056196cd9268bc71f9d56f830b6e69b5b02d1d87 /src
parent3261e86a3a5f5d2078a88b955f2a61cea99d7ed6 (diff)
downloadAFLplusplus-891f4d3c8e58ed06b0131673f9c58606f5d99978.tar.gz
correct counting for tmouts
Diffstat (limited to 'src')
-rw-r--r--src/afl-fuzz-bitmap.c2
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;
}