mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-15 11:28:08 +00:00
afl-fuzz-one.c: minor update
This commit is contained in:
@ -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);
|
out_buf = ck_maybe_grow(BUF_PARAMS(out), len);
|
||||||
// ??? (h1994st): this line may be not necessary, as we do not modify the
|
// memcpy(out_buf, in_buf, len);
|
||||||
// content of "out_buf".
|
|
||||||
memcpy(out_buf, in_buf, len);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user