diff options
author | h1994st <h1994st@gmail.com> | 2020-03-30 06:01:01 -0400 |
---|---|---|
committer | Dominik Maier <domenukk@gmail.com> | 2020-03-30 16:46:54 +0200 |
commit | e2a3de71ca8c9ab36d43fac2752e4a9ccf31e814 (patch) | |
tree | 6da7c9e8fa2f368723db4a3cfdb2b91438899fe6 /src | |
parent | 57a0134b0cd5a2b9fe6d5ce2d6591b34894635c1 (diff) | |
download | afl++-e2a3de71ca8c9ab36d43fac2752e4a9ccf31e814.tar.gz |
afl-fuzz-one.c: minor update
Diffstat (limited to 'src')
-rw-r--r-- | src/afl-fuzz-one.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/afl-fuzz-one.c b/src/afl-fuzz-one.c index 29dd73ad..c61c9084 100644 --- a/src/afl-fuzz-one.c +++ b/src/afl-fuzz-one.c @@ -1647,10 +1647,10 @@ custom_mutator_stage: } + /* `afl->out_buf` is actually not changed in the loop. Since `ck_maybe_grow` + is cheap, we still keep the following line but remove `memcpy`. */ out_buf = ck_maybe_grow(BUF_PARAMS(out), len); - // ??? (h1994st): this line may be not necessary, as we do not modify the - // content of "out_buf". - memcpy(out_buf, in_buf, len); + // memcpy(out_buf, in_buf, len); } |