Fix "src" attribute in sync stage filenames (#703)

This commit is contained in:
Adrian Panasiuk
2021-01-27 01:12:13 +00:00
parent 36b5336152
commit d046b28f2f

View File

@ -627,9 +627,8 @@ void sync_fuzzers(afl_state_t *afl) {
}
if (m >= n) { goto close_sync; } // nothing new
o = n - 1;
while (o >= m) {
for (o = m; o < n; o++) {
s32 fd;
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);
afl->syncing_case = next_min_accept;
next_min_accept++;
o--;
/* Allow this to fail in case the other fuzzer is resuming or so... */