[Bug 3137] -f keeps stdin and stderr open

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Oct 29 12:21:27 AEDT 2020


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

Mihai Moldovan <ionic at ionic.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #3 from Mihai Moldovan <ionic at ionic.de> ---
Reopening.

d14fe25e is buggy and doesn't actually close stderr.

This line
https://github.com/openssh/openssh-portable/commit/d14fe25e6c3b89f8af17e2894046164ac3b45688#diff-ce646b350d7e1b7ca792b15463c7ce19fd0979286424bb3d569e36ab5e435039R1762
should have used STDERR_FILENO. Instead it's just wrongly duping stdout
again.

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