mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-10 17:21:33 +00:00
Merge pull request #2344 from kcwu/fix-sync-foreign
avoid import already imported foreign corpus
This commit is contained in:
commit
fc860872d6
@ -667,7 +667,12 @@ void read_foreign_testcases(afl_state_t *afl, int first) {
|
||||
|
||||
}
|
||||
|
||||
afl->foreign_syncs[iter].mtime = mtime_max;
|
||||
if (mtime_max > afl->foreign_syncs[iter].mtime) {
|
||||
|
||||
afl->foreign_syncs[iter].mtime = mtime_max;
|
||||
|
||||
}
|
||||
|
||||
free(nl); /* not tracked */
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user