about summary refs log tree commit diff
path: root/include/afl-fuzz.h
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-09-25 11:39:25 +0200
committerGitHub <noreply@github.com>2020-09-25 11:39:25 +0200
commit3334eeb4ebd1d933f3b663a6eabc17835c6850c5 (patch)
tree8b292e6c58086d785fa692f5344eedc5974e32ef /include/afl-fuzz.h
parente38ca0e7508752c8a8d1e87d4bb215d90126babf (diff)
parenta75e7594f78454a11e3d93b3cb4878a21e4e943f (diff)
downloadafl++-3334eeb4ebd1d933f3b663a6eabc17835c6850c5.tar.gz
Merge pull request #564 from wakolzin/dev
Fix potential endless loop in custom_mutator_stage
Diffstat (limited to 'include/afl-fuzz.h')
-rw-r--r--include/afl-fuzz.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h
index 9404c417..0efd48ec 100644
--- a/include/afl-fuzz.h
+++ b/include/afl-fuzz.h
@@ -657,6 +657,9 @@ typedef struct afl_state {
    * they do not call another function */
   u8 *map_tmp_buf;
 
+  /* queue entries ready for splicing count (len > 1) */
+  u32 ready_for_splicing_count;
+
 } afl_state_t;
 
 struct custom_mutator {