[sudo-commits] sudo changeset 12671:a3fe4615f039

Todd C. Miller Todd.Miller at sudo.ws
Fri Oct 9 14:19:35 MDT 2020


changeset:	12671:a3fe4615f039 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/a3fe4615f039
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Fri Oct 09 14:16:06 2020 -0600

Log Message:
	Init cmnds to NULL in rule_to_priv() so we don't free a bogus pointer.
	In the sssd backend, the rule_to_priv() cleanup code assumes cmnds
	can be passed to fn_free_values(), which was not the case if we
	receive an error getting values for "sudoCommand".  This is a
	regression introduced in sudo 1.9.1.  Fix from Ron Bowes.
	GitHub issue #67.

diffstat:

 plugins/sudoers/sssd.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)



More information about the sudo-commits mailing list