diff options
author | van Hauser <vh@thc.org> | 2020-09-07 17:30:28 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-09-07 17:30:28 +0200 |
commit | 6404abd7d609350ffd6c6f221cbf56e60b2ef030 (patch) | |
tree | 5e81ba7c8fc92bb26bdd6847027ef4feec6042fa /src/afl-fuzz-queue.c | |
parent | 7bcbfd48e54eba5a99d05b04f4f3d6bea29cde80 (diff) | |
download | afl++-6404abd7d609350ffd6c6f221cbf56e60b2ef030.tar.gz |
bugfix for fixed seeds
Diffstat (limited to 'src/afl-fuzz-queue.c')
-rw-r--r-- | src/afl-fuzz-queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afl-fuzz-queue.c b/src/afl-fuzz-queue.c index 8c7bfc55..336b7f4f 100644 --- a/src/afl-fuzz-queue.c +++ b/src/afl-fuzz-queue.c @@ -502,7 +502,7 @@ u32 calculate_score(afl_state_t *afl, struct queue_entry *q) { // Longer execution time means longer work on the input, the deeper in // coverage, the better the fuzzing, right? -mh - if (afl->schedule >= RARE && likely(!afl->fixed_seed)) { + if (likely(afl->schedule < RARE) && likely(!afl->fixed_seed)) { if (q->exec_us * 0.1 > avg_exec_us) { |