[sudo-commits] sudo changeset 15221:4be36c6cab1c

Todd C. Miller Todd.Miller at sudo.ws
Sat Dec 16 08:09:24 MST 2023


changeset:	15221:4be36c6cab1c in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/4be36c6cab1c
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Fri Dec 15 14:57:59 2023 -0700
files:		plugins/sudoers/defaults.c

Log Message:
	Fix evaluation of a tuple used in "true" boolean context.

	Previously, a tuple in boolean context was always treated as a
	negated entry, which doesn't match the documentation.  We assume
	that there are at least two tuple entries where the first maps to
	boolean false and the second maps to boolean true.


diffstat:

 plugins/sudoers/defaults.c |  26 ++++++++++++++++++--------
 1 files changed, 18 insertions(+), 8 deletions(-)



More information about the sudo-commits mailing list