diff options
author | vanhauser-thc <vh@thc.org> | 2022-03-18 15:00:24 +0100 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2022-03-18 15:00:24 +0100 |
commit | fa2b0404763f69c3bff0912a44a11e2e8c3734ab (patch) | |
tree | 4a7e8c2663db6c47df7e8efaa481affe80268884 /src/afl-fuzz-run.c | |
parent | 69c9a176eb6ded2e7087ab437950a8ec324cdb1b (diff) | |
download | afl++-fa2b0404763f69c3bff0912a44a11e2e8c3734ab.tar.gz |
fix LTO with cmplog and laf
Diffstat (limited to 'src/afl-fuzz-run.c')
-rw-r--r-- | src/afl-fuzz-run.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/afl-fuzz-run.c b/src/afl-fuzz-run.c index 2a9d186b..ffba3475 100644 --- a/src/afl-fuzz-run.c +++ b/src/afl-fuzz-run.c @@ -232,7 +232,8 @@ static void write_with_gap(afl_state_t *afl, u8 *mem, u32 len, u32 skip_at, memcpy(afl->fsrv.shmem_fuzz, mem, skip_at); - memcpy(afl->fsrv.shmem_fuzz + skip_at, mem + skip_at + skip_len, tail_len); + memcpy(afl->fsrv.shmem_fuzz + skip_at, mem + skip_at + skip_len, + tail_len); } |