about summary refs log tree commit diff
path: root/src/afl-fuzz-one.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/afl-fuzz-one.c')
-rw-r--r--src/afl-fuzz-one.c6
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);
 
   }