mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-23 10:27:45 +00:00
command_matches: avoid printf("%s") of NULL in debug for sudo ALL.
This commit is contained in:
parent
9980357a73
commit
0aedc965f8
@ -719,6 +719,7 @@ command_matches(const char *sudoers_cmnd, const char *sudoers_args,
|
||||
}
|
||||
|
||||
if (sudoers_cmnd == NULL) {
|
||||
sudoers_cmnd = "ALL";
|
||||
rc = command_matches_all(runchroot, intercepted, digests);
|
||||
goto done;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user