fix include

This commit is contained in:
van Hauser
2021-01-27 08:41:45 +01:00
parent 6b721900d5
commit 2044c7e2b5
2 changed files with 3 additions and 4 deletions

View File

@ -48,7 +48,7 @@ static char *afl_environment_variables[] = {
"AFL_EXIT_WHEN_DONE",
"AFL_FAST_CAL",
"AFL_FORCE_UI",
"AFL_FUZZER_ARGS". // oss-fuzz
"AFL_FUZZER_ARGS", // oss-fuzz
"AFL_GCC_ALLOWLIST",
"AFL_GCC_DENYLIST",
"AFL_GCC_BLOCKLIST",

View File

@ -482,9 +482,8 @@ void read_foreign_testcases(afl_state_t *afl, int first) {
}
/* We use scandir() + alphasort() rather than readdir() because otherwise,
the ordering of test cases would vary somewhat randomly and would be
difficult to control. */
/* We do not use sorting yet and do a more expensive ctime check instead.
a ctimesort() implementation would be better though. */
nl_cnt = scandir(afl->foreign_syncs[iter].dir, &nl, NULL, NULL);