diff options
author | Vitalii Akolzin <vva1994@ispras.ru> | 2020-09-24 18:25:32 +0300 |
---|---|---|
committer | Vitalii Akolzin <vva1994@ispras.ru> | 2020-09-24 18:25:32 +0300 |
commit | 888d63748a3c6aafd974cb9d96cdb8d3916e82bb (patch) | |
tree | cd12b26c558e96c07938647ea1a6baeea3bb56a4 /include/afl-fuzz.h | |
parent | 60ef1f730551eab66cdfecf4e9815cd841582561 (diff) | |
download | afl++-888d63748a3c6aafd974cb9d96cdb8d3916e82bb.tar.gz |
Fix potential endless loop in custom_mutator_stage
Co-authored-by: Ivan Gulakov <gulakov@ispras.ru>
Diffstat (limited to 'include/afl-fuzz.h')
-rw-r--r-- | include/afl-fuzz.h | 3 |
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 { |