From e910c224da291300b229866ed3dea9ec47a277b3 Mon Sep 17 00:00:00 2001 From: h1994st Date: Mon, 30 Mar 2020 06:01:01 -0400 Subject: afl-fuzz-one.c: minor update --- src/afl-fuzz-one.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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); } -- cgit 1.4.1