diff options
author | van Hauser <vh@thc.org> | 2020-09-25 11:39:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-25 11:39:25 +0200 |
commit | 3334eeb4ebd1d933f3b663a6eabc17835c6850c5 (patch) | |
tree | 8b292e6c58086d785fa692f5344eedc5974e32ef /src/afl-fuzz-queue.c | |
parent | e38ca0e7508752c8a8d1e87d4bb215d90126babf (diff) | |
parent | a75e7594f78454a11e3d93b3cb4878a21e4e943f (diff) | |
download | afl++-3334eeb4ebd1d933f3b663a6eabc17835c6850c5.tar.gz |
Merge pull request #564 from wakolzin/dev
Fix potential endless loop in custom_mutator_stage
Diffstat (limited to 'src/afl-fuzz-queue.c')
-rw-r--r-- | src/afl-fuzz-queue.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/afl-fuzz-queue.c b/src/afl-fuzz-queue.c index ddd08f1c..14aa34fc 100644 --- a/src/afl-fuzz-queue.c +++ b/src/afl-fuzz-queue.c @@ -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; |