[sudo-commits] sudo changeset 12464:240efcda496e

Todd C. Miller Todd.Miller at sudo.ws
Thu Jun 4 11:34:31 MDT 2020


changeset:	12464:240efcda496e in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/240efcda496e
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