bugzilla-daemon at mindrot.org
2021-May-11 07:55 UTC
[Bug 3310] New: Correctly restoring channel's FDs nonblocking mode
https://bugzilla.mindrot.org/show_bug.cgi?id=3310
Bug ID: 3310
Summary: Correctly restoring channel's FDs nonblocking mode
Product: Portable OpenSSH
Version: 8.6p1
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: ssh
Assignee: unassigned-bugs at mindrot.org
Reporter: dbelyavs at redhat.com
OpenSSH incorrectly restores the standard mode (blocking mode) on
standard output upon exiting. This causes the next shell scripts
commands to potentially fail in EAGAIN.
The reproducer is:
#!/bin/sh
(
ssh localhost true
cat /dev/zero
) | sleep 30
Restoring the blocking modes happens with the duped file descriptors
and too late.
The changes causing this problem was introduced in 4d5456c
The PR intended to fix the issue is
https://github.com/openssh/openssh-portable/pull/246
--
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2021-May-19 01:19 UTC
[Bug 3310] Correctly restoring channel's FDs nonblocking mode
https://bugzilla.mindrot.org/show_bug.cgi?id=3310
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |DUPLICATE
CC| |djm at mindrot.org
Status|NEW |RESOLVED
--- Comment #1 from Damien Miller <djm at mindrot.org> ---
*** This bug has been marked as a duplicate of bug 3280 ***
--
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.
bugzilla-daemon at mindrot.org
2022-Feb-25 02:57 UTC
[Bug 3310] Correctly restoring channel's FDs nonblocking mode
https://bugzilla.mindrot.org/show_bug.cgi?id=3310
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #2 from Damien Miller <djm at mindrot.org> ---
closing bugs resolved before openssh-8.9
--
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.