Use sudoersrestart() in fuzz_sudoers.c

Since we run the parser multiple times we need to restart it each time.
This commit is contained in:
Todd C. Miller
2021-02-03 12:52:15 -07:00
parent e66b132d76
commit 3237a18ee3
3 changed files with 7 additions and 5 deletions

View File

@@ -314,6 +314,7 @@ extern bool sudoers_strict;
/* toke.l */
YY_DECL;
void sudoersrestart(FILE *);
extern FILE *sudoersin;
extern const char *sudoers_file;
extern char *sudoers;