diff options
author | van Hauser <vh@thc.org> | 2022-05-16 12:34:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-16 12:34:38 +0200 |
commit | a2eb1f14126cffd046c44d5e87e945ed2699cec5 (patch) | |
tree | 2eecf55a92eec04e67aa3a9d9bec8e5f50659de6 /src/afl-fuzz-init.c | |
parent | c7bb0a9638a8929a5b664f16032c23a55a84be70 (diff) | |
parent | c08eeb95ca78625cf3f8a96bd04320c57c50d0f1 (diff) | |
download | afl++-a2eb1f14126cffd046c44d5e87e945ed2699cec5.tar.gz |
Merge pull request #1404 from AFLplusplus/dev
push to stable
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); |