diff options
author | vanhauser-thc <vh@thc.org> | 2022-02-05 08:27:17 +0100 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2022-02-05 08:27:17 +0100 |
commit | d5b9cd4b73253c2fbbc7da88015ae0eac303eb32 (patch) | |
tree | 987c3ab057607e26bba6fbd7309f894d6107b07d /src/afl-fuzz-cmplog.c | |
parent | ce5032cc2949366260db12a7d52699b23ff9cda4 (diff) | |
download | afl++-d5b9cd4b73253c2fbbc7da88015ae0eac303eb32.tar.gz |
add afl-fuzz -y fuzz length support
Diffstat (limited to 'src/afl-fuzz-cmplog.c')
-rw-r--r-- | src/afl-fuzz-cmplog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afl-fuzz-cmplog.c b/src/afl-fuzz-cmplog.c index ce8f1a83..1a8052a0 100644 --- a/src/afl-fuzz-cmplog.c +++ b/src/afl-fuzz-cmplog.c @@ -49,7 +49,7 @@ u8 common_fuzz_cmplog_stuff(afl_state_t *afl, u8 *out_buf, u32 len) { u8 fault; - write_to_testcase(afl, out_buf, len); + len = write_to_testcase(afl, out_buf, len, 0); fault = fuzz_run_target(afl, &afl->cmplog_fsrv, afl->fsrv.exec_tmout); |