[Bug 2863] sshd with ControlMaster does not close child STDERR on client exit

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Thu Oct 4 11:21:06 AEST 2018


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

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #3182|0                           |1
        is obsolete|                            |

--- Comment #6 from Damien Miller <djm at mindrot.org> ---
Created attachment 3185
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3185&action=edit
close read-mode efd when channel close received

That first patch was definitely wrong - it broke our current stderr
handling tests.

This one is a bit more delicate: close the extended fd when it is in
read mode (i.e. in sshd and attached to read a subprocess' stderr) and
the channel receives a close message.

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


More information about the openssh-bugs mailing list