about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2024-08-14 18:47:38 +0200
committervanhauser-thc <vh@thc.org>2024-08-14 18:47:44 +0200
commit6ddd5ecf4a3bfc2a5b306b663e57ac29e60bf92f (patch)
treeaf28578e22f2497fcd11aff843f5d8f628fe65ca /src
parente2099114aa606c803c900e3788a20114ad34b505 (diff)
downloadafl++-6ddd5ecf4a3bfc2a5b306b663e57ac29e60bf92f.tar.gz
fix missing trace_mini check
Diffstat (limited to 'src')
-rw-r--r--src/afl-fuzz-queue.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/afl-fuzz-queue.c b/src/afl-fuzz-queue.c
index 3d244aa8..599d31f6 100644
--- a/src/afl-fuzz-queue.c
+++ b/src/afl-fuzz-queue.c
@@ -973,7 +973,8 @@ void cull_queue(afl_state_t *afl) {
 
   for (i = 0; i < afl->fsrv.map_size; ++i) {
 
-    if (afl->top_rated[i] && (temp_v[i >> 3] & (1 << (i & 7)))) {
+    if (afl->top_rated[i] && (temp_v[i >> 3] & (1 << (i & 7))) &&
+        afl->top_rated[i]->trace_mini) {
 
       u32 j = len;