diff options
author | h1994st <h1994st@gmail.com> | 2020-03-30 06:01:01 -0400 |
---|---|---|
committer | Dominik Maier <domenukk@gmail.com> | 2020-04-01 13:10:07 +0200 |
commit | e910c224da291300b229866ed3dea9ec47a277b3 (patch) | |
tree | 6da7c9e8fa2f368723db4a3cfdb2b91438899fe6 | |
parent | ea954539756722e84f65e0f3a6638bb3dc50d8db (diff) | |
download | afl++-e910c224da291300b229866ed3dea9ec47a277b3.tar.gz |
afl-fuzz-one.c: minor update
-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); } |