[Bug 2797] ssh swallows end-of-file on output

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Mon Oct 23 10:04:32 AEDT 2017


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

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |djm at mindrot.org

--- Comment #1 from Damien Miller <djm at mindrot.org> ---
Created attachment 3073
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3073&action=edit
transfer stdout to channel

This transfers ownership of stdout to the session channel, clobbering
the original STDOUT_FILENO with /dev/null to ensure that nothing writes
to it after any subsequent fds are opened, since they could be
allocated fd=1.

-- 
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