From nobody@FreeBSD.org  Tue Jan 30 20:38:58 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 4F7CA37B69B
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 30 Jan 2001 20:38:58 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id f0V4cwb99821;
	Tue, 30 Jan 2001 20:38:58 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200101310438.f0V4cwb99821@freefall.freebsd.org>
Date: Tue, 30 Jan 2001 20:38:58 -0800 (PST)
From: yoshi@parodius.com
To: freebsd-gnats-submit@FreeBSD.org
Subject: OpenSSH creates broken pipes
X-Send-Pr-Version: www-1.0

>Number:         24748
>Category:       bin
>Synopsis:       OpenSSH creates broken pipes
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    green
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 30 20:40:02 PST 2001
>Closed-Date:    Wed Nov 28 11:39:49 PST 2001
>Last-Modified:  Wed Nov 28 11:40:32 PST 2001
>Originator:     Jeremy Chadwick
>Release:        4.2-STABLE
>Organization:
>Environment:
FreeBSD hybrid.best.net 4.2-STABLE FreeBSD 4.2-STABLE #0: Sat Jan 20 17:35:47 PST 2001     root@hybrid.best.net:/usr/obj/usr/src/sys/PARODIUS  i386
>Description:
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
>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...)
>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

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->green 
Responsible-Changed-By: kris 
Responsible-Changed-When: Fri Feb 2 02:37:52 PST 2001 
Responsible-Changed-Why:  
Green is the OpenSSH maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=24748 
State-Changed-From-To: open->closed 
State-Changed-By: green 
State-Changed-When: Wed Nov 28 11:39:49 PST 2001 
State-Changed-Why:  
This has already been fixed. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=24748 
>Unformatted:
