about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorManuel Carrasco <m.carrasco@imperial.ac.uk>2023-11-06 17:50:15 +0000
committerManuel Carrasco <m.carrasco@imperial.ac.uk>2023-11-06 17:50:15 +0000
commit8ad36af95d9bcfa172d217f0f8ca29c6b24ba78a (patch)
tree49897e9e3c65e64ed1ee6efb1809950971f0f229 /src
parentf3d2127fd815bed2ec9dfab981123898d11cea65 (diff)
downloadafl++-8ad36af95d9bcfa172d217f0f8ca29c6b24ba78a.tar.gz
Add missing initialisation for havoc_queued during the custom mutator's stage.
Diffstat (limited to 'src')
-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 b2306996..67dafda8 100644
--- a/src/afl-fuzz-one.c
+++ b/src/afl-fuzz-one.c
@@ -1894,6 +1894,7 @@ custom_mutator_stage:
   LIST_FOREACH(&afl->custom_mutator_list, struct custom_mutator, {
 
     if (el->afl_custom_fuzz) {
+      havoc_queued = afl->queued_items;
 
       afl->current_custom_fuzz = el;
       afl->stage_name = el->name_short;