mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-17 12:18:08 +00:00
fix resume for syncing
This commit is contained in:
@ -1561,8 +1561,9 @@ void pivot_inputs(afl_state_t *afl) {
|
|||||||
ID matches the one we'd assign, just use the original file name.
|
ID matches the one we'd assign, just use the original file name.
|
||||||
This is valuable for resuming fuzzing runs. */
|
This is valuable for resuming fuzzing runs. */
|
||||||
|
|
||||||
if (!strncmp(rsl, CASE_PREFIX, 3) &&
|
if (afl->in_place_resume ||
|
||||||
sscanf(rsl + 3, "%06u", &orig_id) == 1 && orig_id == id) {
|
(!strncmp(rsl, CASE_PREFIX, 3) &&
|
||||||
|
sscanf(rsl + 3, "%06u", &orig_id) == 1 && orig_id == id)) {
|
||||||
|
|
||||||
u8 *src_str;
|
u8 *src_str;
|
||||||
u32 src_id;
|
u32 src_id;
|
||||||
|
Reference in New Issue
Block a user