]> granicus.if.org Git - sudo/commit
Don't read from stdin when flushing final buffers in blocking mode.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 24 May 2016 17:16:44 +0000 (11:16 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 24 May 2016 17:16:44 +0000 (11:16 -0600)
commit356e74e1dbd9871287bd0dfb4a99efc02a82ed7d
tree0dda72df06c81b35ba8f554b5d4bc70d371e8bd6
parente3514817df8561a5a93327144fcae0b50b9ecd31
Don't read from stdin when flushing final buffers in blocking mode.
Reading from the pipe can block too if the other end is not closed.
NEWS
src/exec_pty.c