mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-16 11:58:08 +00:00
fix custom post process with custom send
This commit is contained in:
@ -216,6 +216,8 @@ write_to_testcase(afl_state_t *afl, void **mem, u32 len, u32 fix) {
|
||||
/* everything as planned. use the potentially new data. */
|
||||
afl_fsrv_write_to_testcase(&afl->fsrv, *mem, new_size);
|
||||
|
||||
}
|
||||
|
||||
if (likely(!afl->afl_env.afl_post_process_keep_original)) {
|
||||
|
||||
len = new_size;
|
||||
@ -228,8 +230,6 @@ write_to_testcase(afl_state_t *afl, void **mem, u32 len, u32 fix) {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
} else { /* !afl->custom_mutators_count */
|
||||
|
||||
if (unlikely(len < afl->min_length && !fix)) {
|
||||
|
Reference in New Issue
Block a user