[Bug 85] ssh -2 localhost od /bin/ls | true ignore SIGPIPE
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Sat May 10 02:30:27 EST 2008
https://bugzilla.mindrot.org/show_bug.cgi?id=85
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Blocks| |1452
--- Comment #8 from Damien Miller <djm at mindrot.org> 2008-05-10 02:30:24 ---
A fix to this bug has been committed and, barring any problems, will be
in OpenSSH 5.1:
> CVSROOT: /cvs
> Module name: src
> Changes by: markus at cvs.openbsd.org 2008/05/09 10:16:06
>
> Modified files:
> usr.bin/ssh : session.c
>
> Log message:
> re-add the USE_PIPES code and enable it.
> without pipes shutdown-read from the sshd does not trigger
> a SIGPIPE when the forked program does a write.
>
> ok djm@
>
>
> CVSROOT: /cvs
> Module name: src
> Changes by: markus at cvs.openbsd.org 2008/05/09 10:17:51
>
> Modified files:
> usr.bin/ssh : channels.c
>
> Log message:
> error-fd race: don't enable the error fd in the select bitmask
> for channels with both in- and output closed, since the channel
> will go away before we call select();
> report, lots of debugging help and ok djm@
>
>
> CVSROOT: /cvs
> Module name: src
> Changes by: markus at cvs.openbsd.org 2008/05/09 10:21:13
>
> Modified files:
> usr.bin/ssh : channels.h clientloop.c nchan.c serverloop.c
>
> Log message:
> unbreak
> ssh -2 localhost od /bin/ls | true
> ignoring SIGPIPE by adding a new channel message (EOW) that signals
> the peer that we're not interested in any data it might send.
> fixes bz #85; discussion, debugging and ok djm@
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching someone on the CC list of the bug.
More information about the openssh-bugs
mailing list