When building for fuzz teting, ignore "include" and "incluedir"
directives in the profile library's parse_line(), to prevent it from
trying to open non-existent paths generated by the fuzzing library.
[ghudson@mit.edu: edited commit message]
{
char *cp;
+#ifndef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
if (strncmp(line, "include", 7) == 0 && isspace(line[7])) {
cp = skip_over_blanks(line + 7);
strip_line(cp);
strip_line(cp);
return parse_include_dir(cp, state->root_section);
}
+#endif
switch (state->state) {
case STATE_INIT_COMMENT:
if (strncmp(line, "module", 6) == 0 && isspace(line[6])) {