mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-14 02:58:08 +00:00
fixed example
This commit is contained in:
@ -1647,10 +1647,8 @@ 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);
|
||||
// memcpy(out_buf, in_buf, len);
|
||||
/* `(afl->)out_buf` may have been changed by the call to custom_fuzz */
|
||||
memcpy(out_buf, in_buf, len);
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user