mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-12 10:08:07 +00:00
Merge pull request #526 from h1994st/dev
Prevent afl-fuzz from modifying stage_max during fuzzing
This commit is contained in:
@ -1767,6 +1767,8 @@ custom_mutator_stage:
|
||||
|
||||
}
|
||||
|
||||
if (!el->afl_custom_fuzz_count) {
|
||||
|
||||
/* If we're finding new stuff, let's run for a bit longer, limits
|
||||
permitting. */
|
||||
|
||||
@ -1785,6 +1787,8 @@ custom_mutator_stage:
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* `(afl->)out_buf` may have been changed by the call to custom_fuzz
|
||||
*/
|
||||
/* TODO: Only do this when `mutated_buf` == `out_buf`? Branch vs
|
||||
|
Reference in New Issue
Block a user