Merge pull request #707 from ampanasiuk/bug-703-wrong-src-attribute-in-sync-stage-filenames

Bug 703 wrong src attribute in sync stage filenames
This commit is contained in:
van Hauser 2021-01-27 08:35:21 +01:00 committed by GitHub
commit 6b721900d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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... */