diff options
author | vanhauser-thc <vh@thc.org> | 2022-05-09 13:18:14 +0200 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2022-05-09 13:18:14 +0200 |
commit | 51942b605d6fcb22d85c1fe1a845b6ec2839e793 (patch) | |
tree | 32434c0f086a175ff9cf6515e3803876f8b78887 /src/afl-fuzz-init.c | |
parent | 47dae21f4a0da74e3e454f637285baebf0567491 (diff) | |
download | afl++-51942b605d6fcb22d85c1fe1a845b6ec2839e793.tar.gz |
support post_process's own return buffer
Diffstat (limited to 'src/afl-fuzz-init.c')
-rw-r--r-- | src/afl-fuzz-init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afl-fuzz-init.c b/src/afl-fuzz-init.c index 05a654c8..6a653a00 100644 --- a/src/afl-fuzz-init.c +++ b/src/afl-fuzz-init.c @@ -617,7 +617,7 @@ void read_foreign_testcases(afl_state_t *afl, int first) { } - u32 len = write_to_testcase(afl, mem, st.st_size, 1); + u32 len = write_to_testcase(afl, (void **)&mem, st.st_size, 1); fault = fuzz_run_target(afl, &afl->fsrv, afl->fsrv.exec_tmout); afl->syncing_party = foreign_name; afl->queued_imported += save_if_interesting(afl, mem, len, fault); |