Mailing List Archive

[Bug 3280] stdout resource unavailable error when used with a pipe
https://bugzilla.mindrot.org/show_bug.cgi?id=3280

--- Comment #2 from sanumesh@in.ibm.com ---
Created attachment 3510
--> https://bugzilla.mindrot.org/attachment.cgi?id=3510&action=edit
ssh related patch

maintain a global variable and dup the STDOUT to it, before dup2 of
stdout to /dev/null

--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 3280] stdout resource unavailable error when used with a pipe [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=3280

--- Comment #3 from sanumesh@in.ibm.com ---
Created attachment 3511
--> https://bugzilla.mindrot.org/attachment.cgi?id=3511&action=edit
clientloop related patch

assign back the stored fd to stdout before restoring blocking io

--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 3280] stdout resource unavailable error when used with a pipe [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=3280

sanumesh@in.ibm.com changed:

What |Removed |Added
----------------------------------------------------------------------------
Severity|major |critical
Priority|P2 |P1

--- Comment #4 from sanumesh@in.ibm.com ---
Hello

raising the severity to 1 since it is related to user data integrity
checks. In some of the scenarios, the output of cat gets truncated with
no errors.
Please have a look at the attached patch and let me know if any further
clarifications is required.
Thanks

--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 3280] stdout resource unavailable error when used with a pipe [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=3280

Damien Miller <djm@mindrot.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #3510|0 |1
is obsolete| |
Attachment #3511|0 |1
is obsolete| |
CC| |djm@mindrot.org,
| |dtucker@dtucker.net
Attachment #3519| |ok?(dtucker@dtucker.net)
Flags| |

--- Comment #5 from Damien Miller <djm@mindrot.org> ---
Created attachment 3519
--> https://bugzilla.mindrot.org/attachment.cgi?id=3519&action=edit
restore non-blocking status for stdio file descriptors

I don't think your patches cover all the cases, particularly the
session-multiplexing and stdio forwarding ones. AFAIk this one does.

--
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.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 3280] stdout resource unavailable error when used with a pipe [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=3280

Darren Tucker <dtucker@dtucker.net> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #3519|ok?(dtucker@dtucker.net) |ok+
Flags| |

--
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.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 3280] stdout resource unavailable error when used with a pipe [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=3280

Damien Miller <djm@mindrot.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |dbelyavs@redhat.com

--- Comment #6 from Damien Miller <djm@mindrot.org> ---
*** Bug 3310 has been marked as a duplicate of this bug. ***

--
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.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 3280] stdout resource unavailable error when used with a pipe [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=3280

Damien Miller <djm@mindrot.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Blocks| |3302
Status|NEW |RESOLVED

--- Comment #7 from Damien Miller <djm@mindrot.org> ---
Fix committed as 7be4ac81366


Referenced Bugs:

https://bugzilla.mindrot.org/show_bug.cgi?id=3302
[Bug 3302] Tracking bug for openssh-8.7
--
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.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs