mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-14 11:08:06 +00:00
Fix "src" attribute in sync stage filenames (#703)
This commit is contained in:
@ -627,9 +627,8 @@ void sync_fuzzers(afl_state_t *afl) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (m >= n) { goto close_sync; } // nothing new
|
if (m >= n) { goto close_sync; } // nothing new
|
||||||
o = n - 1;
|
|
||||||
|
|
||||||
while (o >= m) {
|
for (o = m; o < n; o++) {
|
||||||
|
|
||||||
s32 fd;
|
s32 fd;
|
||||||
struct stat st;
|
struct stat st;
|
||||||
@ -637,7 +636,6 @@ void sync_fuzzers(afl_state_t *afl) {
|
|||||||
snprintf(path, sizeof(path), "%s/%s", qd_path, namelist[o]->d_name);
|
snprintf(path, sizeof(path), "%s/%s", qd_path, namelist[o]->d_name);
|
||||||
afl->syncing_case = next_min_accept;
|
afl->syncing_case = next_min_accept;
|
||||||
next_min_accept++;
|
next_min_accept++;
|
||||||
o--;
|
|
||||||
|
|
||||||
/* Allow this to fail in case the other fuzzer is resuming or so... */
|
/* Allow this to fail in case the other fuzzer is resuming or so... */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user