[sudo-commits] sudo changeset 12497:783c8193ca63
Todd C. Miller
Todd.Miller at sudo.ws
Thu Jun 18 19:07:10 MDT 2020
changeset: 12497:783c8193ca63 in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/783c8193ca63
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Thu Jun 04 11:31:12 2020 -0600
Log Message:
Avoid passing NULL to printf in match debug code for LDAP/SSSD.
The file name in struct userspec was not set for the LDAP and SSSD
backends. There is no actual file in this case so set the name to
LDAP/SSSD. Also add a guard to make sure we don't try to print
NULL in sudoers_lookup_check() if name is left unset.
diffstat:
plugins/sudoers/ldap.c | 1 +
plugins/sudoers/parse.c | 3 ++-
plugins/sudoers/sssd.c | 1 +
3 files changed, 4 insertions(+), 1 deletions(-)
More information about the sudo-commits
mailing list