reverse read the queue n resumes

This commit is contained in:
vanhauser-thc
2021-06-22 17:24:06 +02:00
parent ba9323f14c
commit cbac22d82b
4 changed files with 14 additions and 4 deletions

View File

@ -710,7 +710,10 @@ void read_testcases(afl_state_t *afl, u8 *directory) {
}
for (i = 0; i < (u32)nl_cnt; ++i) {
i = nl_cnt;
do {
--i;
struct stat st;
@ -801,7 +804,7 @@ void read_testcases(afl_state_t *afl, u8 *directory) {
*/
}
} while (i > 0);
free(nl); /* not tracked */