[sudo-commits] sudo changeset 10473:564ae2b4c305

Todd C. Miller Todd.Miller at courtesan.com
Fri May 20 10:21:58 MDT 2016


changeset:	10473:564ae2b4c305 in /media/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/564ae2b4c305
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Fri May 20 10:17:23 2016 -0600

Log Message:
	In del_io_events(), avoid reading from the pty master in blocking
	mode.  We now do two passes, one with SUDO_EVLOOP_NONBLOCK and
	another that could block if stdin is a pipe.  This ensures we consume
	the pipe until EOF.

diffstat:

 src/exec_pty.c |  47 ++++++++++++++++++++++++++++++++++++++++-------
 1 files changed, 40 insertions(+), 7 deletions(-)


More information about the sudo-commits mailing list