[sudo-commits] sudo changeset 14972:ac80d75699d1

Todd C. Miller Todd.Miller at sudo.ws
Sat Aug 12 10:39:44 MDT 2023


changeset:	14972:ac80d75699d1 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/ac80d75699d1
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Sat Aug 12 10:39:33 2023 -0600

Log Message:
	fd_matches_tty: only zero out fd_sb if fstat(2) fails.

	We need to preserve the contents of the struct stat if the fd is
	some other type so the check for piped output works correctly.
	Bug #1057

diffstat:

 src/exec.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)



More information about the sudo-commits mailing list