Fix potential endless loop in custom_mutator_stage

Co-authored-by: Ivan Gulakov <gulakov@ispras.ru>
This commit is contained in:
Vitalii Akolzin
2020-09-24 18:25:32 +03:00
parent 60ef1f7305
commit 888d63748a
4 changed files with 50 additions and 29 deletions

View File

@ -234,6 +234,8 @@ void add_to_queue(afl_state_t *afl, u8 *fname, u32 len, u8 passed_det) {
}
if (q->len > 1) afl->ready_for_splicing_count++;
++afl->queued_paths;
++afl->pending_not_fuzzed;