fixes two huge bugs

This commit is contained in:
van Hauser
2020-10-29 00:05:28 +01:00
parent 17c0d928e8
commit b5686eb63e
3 changed files with 7 additions and 4 deletions

View File

@ -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 */