diff options
author | van Hauser <vh@thc.org> | 2021-06-27 10:22:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-27 10:22:18 +0200 |
commit | 7038e56da3952c89a51596180578153918ce6eee (patch) | |
tree | ea6df93d3c002ecc2e33c8b761fe5263eeb978e0 /src/afl-fuzz.c | |
parent | 6a3877dcd35d31eb79bebbc30ffe70ac0342743e (diff) | |
download | afl++-7038e56da3952c89a51596180578153918ce6eee.tar.gz |
Select (#995)
* favor unfuzzed * fix * reinit table after a new fuzz
Diffstat (limited to 'src/afl-fuzz.c')
-rw-r--r-- | src/afl-fuzz.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c index 5f25f728..bd9b6691 100644 --- a/src/afl-fuzz.c +++ b/src/afl-fuzz.c @@ -2154,7 +2154,8 @@ int main(int argc, char **argv_orig, char **envp) { if (likely(!afl->old_seed_selection)) { - if (unlikely(prev_queued_paths < afl->queued_paths)) { + if (unlikely(prev_queued_paths < afl->queued_paths || + afl->reinit_table)) { // we have new queue entries since the last run, recreate alias table prev_queued_paths = afl->queued_paths; |