[sudo-commits] sudo changeset 14230:f0ebb2b836b9
Todd C. Miller
Todd.Miller at sudo.ws
Tue Oct 4 10:41:08 MDT 2022
changeset: 14230:f0ebb2b836b9 in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/f0ebb2b836b9
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Tue Oct 04 09:33:44 2022 -0600
Log Message:
sudo_secure_open_{file,dir}: always check thatreturn value is not -1.
Avoids false positives from static analyzers that can't figure out
that the fd is always valid when error is SUDO_PATH_SECURE.
diffstat:
lib/util/sudo_conf.c | 49 ++++++++++++-----------
plugins/sudoers/sudoers.c | 44 +++++++++++----------
plugins/sudoers/testsudoers.c | 52 +++++++++++++-----------
plugins/sudoers/timestamp.c | 88 +++++++++++++++++++++---------------------
4 files changed, 120 insertions(+), 113 deletions(-)
More information about the sudo-commits
mailing list