diff options
author | vanhauser-thc <vh@thc.org> | 2022-05-09 14:30:40 +0200 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2022-05-09 14:30:40 +0200 |
commit | 7c8246f18f86e1a1e853908bec443bcf0c70e024 (patch) | |
tree | e3d3eec0aeee344795f0f2044b562f9083e8eb17 /src/afl-fuzz-mutators.c | |
parent | 51942b605d6fcb22d85c1fe1a845b6ec2839e793 (diff) | |
download | afl++-7c8246f18f86e1a1e853908bec443bcf0c70e024.tar.gz |
fix
Diffstat (limited to 'src/afl-fuzz-mutators.c')
-rw-r--r-- | src/afl-fuzz-mutators.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/afl-fuzz-mutators.c b/src/afl-fuzz-mutators.c index b6aeec63..9407adfb 100644 --- a/src/afl-fuzz-mutators.c +++ b/src/afl-fuzz-mutators.c @@ -460,6 +460,8 @@ u8 trim_case_custom(afl_state_t *afl, struct queue_entry *q, u8 *in_buf, } out_len = retlen; + // TODO are we sure that retbuf fits into out_buf if retbuf can actually + // increase in size? memcpy(out_buf, retbuf, retlen); /* Tell the custom mutator that the trimming was successful */ |