Subject: Re: bin/28171: telnet can spin in infinite loop doing syscalls
To: Christos Zoulas <christos@zoulas.com>
From: john heasley <heas@shrubbery.net>
List: netbsd-bugs
Date: 11/12/2004 19:10:56
Wed, Nov 10, 2004 at 07:29:22PM -0800, john heasley:
> Wed, Nov 10, 2004 at 06:18:47PM -0500, Christos Zoulas:
> > On Nov 10, 10:19pm, he@uninett.no (Havard Eidnes) wrote:
> > -- Subject: Re: bin/28171: telnet can spin in infinite loop doing syscalls
> > 
> > | > This has been fixed in head (deadpeer does not exist anymore).
> > | 
> > | Hm, so what's the best strategy to have this fixed on netbsd-1-6,
> > | then?  (I've not yet looked at how extensive the changes are.)
> > | 
> > 
> > Pullup request. It is not that bad.
> 
> I havent looked, but I presume that the changes I made are what fixes this.
> Harvard suggested that I request pull-ups for 1.6 and 1.5; I've let it fall
> behind, sorry.
> 
> I do not have a 1.5 or 1.6 machine to test, and do not want to be responsible
> for breakage.  If I create patches, is there anyone who is willing to test?

Here's a diff for 1.6.2.  It happens to apply cleanly to 1.5.3.  It compiles
and works on -current.  Could you test it, Harvard?  One classic breakage
is:
	telnet localhost 25 | grep -q .


	http://www.shrubbery.net/~heas/telnet_1.6.2.diff

Thanks