crash fix for queue analysis feature

This commit is contained in:
vanhauser-thc
2022-11-23 10:27:30 +01:00
parent a16726039f
commit 4124a272d8

View File

@ -2523,7 +2523,12 @@ int main(int argc, char **argv_orig, char **envp) {
}
afl->current_entry = select_next_queue_entry(afl);
do {
afl->current_entry = select_next_queue_entry(afl);
} while (unlikely(afl->current_entry >= afl->queued_items));
afl->queue_cur = afl->queue_buf[afl->current_entry];
}