increase stack size

This commit is contained in:
van Hauser
2020-08-10 13:59:30 +02:00
parent 8428b18d2a
commit 3ecafde29d
3 changed files with 9 additions and 4 deletions

View File

@ -885,7 +885,7 @@ u8 common_fuzz_stuff(afl_state_t *afl, u8 *out_buf, u32 len) {
u32 i, taint = 0;
for (i = 0; i < new_len; i++) {
if (i > afl->taint_len || afl->taint_map[i] || i > afl->queue_cur->len)
if (i >= afl->taint_len || i >= afl->queue_cur->len || afl->taint_map[i])
new_buf[i] = out_buf[taint++];
else
new_buf[i] = afl->taint_src[i];