mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-14 02:58:08 +00:00
fix
This commit is contained in:
@ -132,8 +132,7 @@ write_to_testcase(afl_state_t *afl, void **mem, u32 len, u32 fix) {
|
||||
|
||||
if (new_mem != *mem) {
|
||||
|
||||
*mem = afl_realloc(mem, new_size);
|
||||
memcpy(*mem, new_mem, new_size);
|
||||
*mem = new_mem;
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user