[sudo-commits] sudo changeset 12798:f1ca39a0d870
Todd C. Miller
Todd.Miller at sudo.ws
Mon Jan 11 05:32:11 MST 2021
changeset: 12798:f1ca39a0d870 in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/f1ca39a0d870
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Wed Jan 06 10:16:00 2021 -0700
Log Message:
Check the return value of fcntl() when setting FD_CLOEXEC.
This should never fail unless the fd is invalid.
Problem reported by Matthias Gerstner of SUSE.
diffstat:
lib/iolog/iolog_fileio.c | 11 ++++++-----
lib/util/sudo_debug.c | 5 ++++-
plugins/group_file/getgrent.c | 18 ++++++++++++++----
plugins/sudoers/linux_audit.c | 6 ++++--
plugins/sudoers/tsgetgrpw.c | 36 ++++++++++++++++++++++++++++--------
5 files changed, 56 insertions(+), 20 deletions(-)
More information about the sudo-commits
mailing list