This commit is contained in:
vanhauser-thc
2023-01-18 14:33:06 +01:00
parent 0db662db7b
commit 22f757a169

View File

@ -129,7 +129,7 @@ extern "C" size_t afl_custom_fuzz(my_mutator_t *data, u8 *buf, size_t buf_size,
new_item = rand_below(afl_ptr, current_id);
} while (new_item >= whitespace_ids);
} while (!alternative_tokenize && new_item >= whitespace_ids);
u32 pos = rand_below(afl_ptr, m_size + 1);
m.insert(m.begin() + pos, new_item);