about summary refs log tree commit diff
path: root/src/afl-fuzz-run.c
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-06-01 11:19:49 +0200
committervanhauser-thc <vh@thc.org>2021-06-01 11:19:49 +0200
commit07c3e47e6beae3e99637f501095bffb95be9f5da (patch)
treee7a87b49877e3b84e993abf25065b236a938685b /src/afl-fuzz-run.c
parent7e54c8d7f6ad7e07c5c442d2e92eed3da7c4add0 (diff)
downloadafl++-07c3e47e6beae3e99637f501095bffb95be9f5da.tar.gz
fixes
Diffstat (limited to 'src/afl-fuzz-run.c')
-rw-r--r--src/afl-fuzz-run.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afl-fuzz-run.c b/src/afl-fuzz-run.c
index 7df4c625..2c3e8a1b 100644
--- a/src/afl-fuzz-run.c
+++ b/src/afl-fuzz-run.c
@@ -121,7 +121,7 @@ write_to_testcase(afl_state_t *afl, void *mem, u32 len) {
     });
 
     /* everything as planned. use the potentially new data. */
-    afl_fsrv_write_to_testcase(&afl->fsrv, new_buf, new_size);
+    afl_fsrv_write_to_testcase(&afl->fsrv, new_mem, new_size);
 
   } else {