Subject: bin/5374: telnet uses constant in select() call
To: None <gnats-bugs@gnats.netbsd.org>
From: Peter Seebach <seebs@puddle.plethora.net>
List: netbsd-bugs
Date: 04/28/1998 17:05:15
>Number:         5374
>Category:       bin
>Synopsis:       telnet calls select(16,...)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 28 17:05:01 1998
>Last-Modified:
>Originator:     Peter Seebach
>Organization:
>Release:        a while back
>Environment:
System: NetBSD puddle.plethora.net 1.3C NetBSD 1.3C (PUDDLE) #0: Fri Feb 6 11:13:44 CST 1998 seebs@puddle.plethora.net:/mud/src/sys/arch/i386/compile/PUDDLE i386


>Description:
	sys_bsd.c has a call to select(16, ...) which is clearly stupidly
	wrong.  (This also occurs in BSD/OS, so it's probably historical.)
>How-To-Repeat:
	Run telnet with a whole lot of open FD's.
>Fix:
	I'd think it'd be easy, but...
>Audit-Trail:
>Unformatted: