[Bug 2071] sshd closes stderr but not stdout when child process exits

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri Feb 8 14:15:27 AEDT 2019


https://bugzilla.mindrot.org/show_bug.cgi?id=2071

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned-bugs at mindrot.org |djm at mindrot.org
   Attachment #3240|                            |ok?(dtucker at dtucker.net)
              Flags|                            |

--- Comment #15 from Damien Miller <djm at mindrot.org> ---
Created attachment 3240
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3240&action=edit
Copy close-deferral logic for efd from rfd

IMO this is the best way to fix it - this copies the conditions that we
use for stdout for stderr. Relative to Jakub's patch, it additionally
tests the channel state.

Seems to pass the test that JD Paul kindly shared.

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list