[sudo-commits] sudo changeset 10705:71b0221c8c28

Todd C. Miller Todd.Miller at courtesan.com
Mon Oct 31 13:42:45 MDT 2016


changeset:	10705:71b0221c8c28 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/71b0221c8c28
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Mon Oct 31 13:36:35 2016 -0600

Log Message:
	sudoers_debug_register() was not setting the active debug instance
	to sudoers_debug_instance when called from the I/O log plugin.  This
	is because it relied on sudo_debug_register to do that but
	sudoers_debug_parse_flags() doesn't set debug_files[]
	sudoers_debug_instance is already set (we can only init sudoers
	debug once).

	To work around this, just make sudoers_debug_instance the active
	debug instance in sudoers_debug_register() when it is already set.

diffstat:

 plugins/sudoers/sudoers_debug.c |  6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)


More information about the sudo-commits mailing list