]> granicus.if.org Git - sudo/commit
In io_callback() if we write the complete buffer and find that there
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 4 May 2016 18:53:20 +0000 (12:53 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 4 May 2016 18:53:20 +0000 (12:53 -0600)
commit4ce39df38f79e5c078d95d46d71d8135bf713c17
tree99816b7227cd26668835c72db08968bd2d325728
parent6ea903623b9960a6bbe8476f52f8cb71dd720cd4
In io_callback() if we write the complete buffer and find that there
is no associated reader just return as there is nothing else to be
done.  In practice is it not possible for SUDO_EV_READ to be set
if revent is NULL but an early return is harmless and possibly
easier to understand.  Coverity CID 104124.
src/exec_pty.c