Bug 24748

Summary: OpenSSH creates broken pipes
Product: Base System Reporter: yoshi <yoshi>
Component: binAssignee: Brian Feldman <green>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.2-STABLE   
Hardware: Any   
OS: Any   

Description yoshi 2001-01-31 04:40:02 UTC
OpenSSH results in broken pipes when pipe is terminated prematurely or properly.  This does not harm functionality, but is very, VERY irritating.

This problem was also mentioned on the FreeBSD mailing list at the following URL:

http://www.freebsd.org/cgi/getmsg.cgi?fetch=60124+0+/usr/local/www/db/text/2001/freebsd-questions/20010128.freebsd-questions

Fix: 

OpenSSH maintainers are aware of this problem, but did not seem to
care enough to fix the problem with 2.3.0.  Odd.

Patch (official?) is provided at the following URL:

http://msgs.securepoint.com/cgi-bin/get/openssh-unix-dev-0012/65/1/1/1.html?nogifs
How-To-Repeat: $ yes > x
(wait 5-6 seconds)
^C
$ grep 'y' x | less
(hit 'q' after prompted)
grep: writing output: Broken pipe
(..repeat thousands of times...)
Comment 1 Kris Kennaway freebsd_committer freebsd_triage 2001-02-02 10:37:52 UTC
Responsible Changed
From-To: freebsd-bugs->green

Green is the OpenSSH maintainer
Comment 2 Brian Feldman freebsd_committer freebsd_triage 2001-11-28 19:39:49 UTC
State Changed
From-To: open->closed

This has already been fixed.