about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-12-16 14:22:09 +0100
committervan Hauser <vh@thc.org>2020-12-16 14:22:09 +0100
commit14c67f15c98b16bb0c22f6a94d66d714bf61af5a (patch)
treefbf9a47a0a2c911d442fbd8b5455c6db7431dd90 /src
parent6e0aeb983356b805d769903fc02945014e28c8c8 (diff)
downloadafl++-14c67f15c98b16bb0c22f6a94d66d714bf61af5a.tar.gz
small fixes
Diffstat (limited to 'src')
-rw-r--r--src/afl-fuzz-init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afl-fuzz-init.c b/src/afl-fuzz-init.c
index 0db3a111..ec937f29 100644
--- a/src/afl-fuzz-init.c
+++ b/src/afl-fuzz-init.c
@@ -666,7 +666,7 @@ void read_testcases(afl_state_t *afl, u8 *directory) {
 
   }
 
-  if (afl->shuffle_queue && nl_cnt > 1) {
+  if (unlikely(afl->old_seed_selection && afl->shuffle_queue && nl_cnt > 1)) {
 
     ACTF("Shuffling queue...");
     shuffle_ptrs(afl, (void **)nl, nl_cnt);