about summary refs log tree commit diff
path: root/src/afl-fuzz-one.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2021-06-27 10:22:18 +0200
committerGitHub <noreply@github.com>2021-06-27 10:22:18 +0200
commit7038e56da3952c89a51596180578153918ce6eee (patch)
treeea6df93d3c002ecc2e33c8b761fe5263eeb978e0 /src/afl-fuzz-one.c
parent6a3877dcd35d31eb79bebbc30ffe70ac0342743e (diff)
downloadafl++-7038e56da3952c89a51596180578153918ce6eee.tar.gz
Select (#995)
* favor unfuzzed

* fix

* reinit table after a new fuzz
Diffstat (limited to 'src/afl-fuzz-one.c')
-rw-r--r--src/afl-fuzz-one.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/afl-fuzz-one.c b/src/afl-fuzz-one.c
index 11adebf4..f03249e9 100644
--- a/src/afl-fuzz-one.c
+++ b/src/afl-fuzz-one.c
@@ -2862,6 +2862,7 @@ abandon_entry:
 
       --afl->pending_not_fuzzed;
       afl->queue_cur->was_fuzzed = 1;
+      afl->reinit_table = 1;
       if (afl->queue_cur->favored) { --afl->pending_favored; }
 
     }