[sudo-commits] sudo changeset 15232:39a6e634c9d6
Todd C. Miller
Todd.Miller at sudo.ws
Sat Dec 30 10:51:18 MST 2023
changeset: 15232:39a6e634c9d6 in /raid/repos/sudo
branch: 1.9
details: https://www.sudo.ws/repos/sudo/rev/39a6e634c9d6
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