fixed potential UAF with custom mutator havoc on realloc
MODIFY
src/afl-fuzz-one.c
src/afl-fuzz-one.c
@@ -2057,7 +2057,7 @@ havoc_stage:
temp_len = new_len;
if (out_buf != custom_havoc_buf) {
- afl_realloc(AFL_BUF_PARAM(out), temp_len);
+ out_buf = afl_realloc(AFL_BUF_PARAM(out), temp_len);
if (unlikely(!afl->out_buf)) { PFATAL("alloc"); }
memcpy(out_buf, custom_havoc_buf, temp_len);

fixed potential UAF with custom mutator havoc on realloc