mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 06:15:37 +00:00
Update Defaults settings after parsing sudoers.
Also stub out dump_defaults when fuzzing as it is not used.
This commit is contained in:
@@ -81,6 +81,7 @@ static bool valid_path(struct sudo_defs_types *def, const char *val, const char
|
||||
void
|
||||
dump_defaults(void)
|
||||
{
|
||||
#ifndef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
|
||||
struct sudo_defs_types *cur;
|
||||
struct list_member *item;
|
||||
struct def_values *def;
|
||||
@@ -164,6 +165,7 @@ dump_defaults(void)
|
||||
}
|
||||
}
|
||||
debug_return;
|
||||
#endif /* FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION */
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user