diff options
author | van Hauser <vh@thc.org> | 2020-10-29 00:05:28 +0100 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-10-29 00:05:28 +0100 |
commit | b5686eb63e1fcd6dac49cc458c50e52b51709f8c (patch) | |
tree | f2a509e391a3d3ec40905996b48600f16a6c68af /src/afl-fuzz-one.c | |
parent | 17c0d928e89568430c6e53c1a0936f3bc28a8a25 (diff) | |
download | afl++-b5686eb63e1fcd6dac49cc458c50e52b51709f8c.tar.gz |
fixes two huge bugs
Diffstat (limited to 'src/afl-fuzz-one.c')
-rw-r--r-- | src/afl-fuzz-one.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/afl-fuzz-one.c b/src/afl-fuzz-one.c index 35ff5466..0f3393d2 100644 --- a/src/afl-fuzz-one.c +++ b/src/afl-fuzz-one.c @@ -1850,8 +1850,9 @@ havoc_stage: r_max += 1; } - - if (unlikely(get_cur_time() - afl->last_path_time > 5000)) { + + if (unlikely(get_cur_time() - afl->last_path_time > 5000 && + afl->ready_for_splicing_count > 1)) { /* add expensive havoc cases here if there is no findings in the last 5s */ |