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 /src/afl-fuzz-state.c | |
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 'src/afl-fuzz-state.c')
-rw-r--r-- | src/afl-fuzz-state.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/afl-fuzz-state.c b/src/afl-fuzz-state.c index ae45d571..9f68bb51 100644 --- a/src/afl-fuzz-state.c +++ b/src/afl-fuzz-state.c @@ -155,6 +155,8 @@ void afl_state_init(afl_state_t *afl, uint32_t map_size) { afl->stats_last_execs = 0; afl->stats_avg_exec = -1; + afl->ready_for_splicing_count = 0; + init_mopt_globals(afl); list_append(&afl_states, afl); |