Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: csgr@cs.ru.ac.za (Geoff Rehmet)
Subject: Re: bug in libc/rcmd.c (selects only on 32 descriptors!)
Date: Fri, 3 Jun 1994 09:40:24 GMT	[thread overview]
Message-ID: <CqtEvC.210@hippo.ru.ac.za> (raw)
In-Reply-To: CqsFM6.Mts@atria.com

In <CqsFM6.Mts@atria.com> jtk@atria.com (John T. Kohl) writes:

>In article <CqGvwM.CEG@atria.com> jtk@atria.com (me!) wrote:
>>>>>> "JTK" == John T Kohl <jtk@atria.com>

>JTK> If you use the rcmd() library routine, you better not have the first 32
>JTK> file descriptors in use....
>JTK> This bug ... is ... shipped in DEC OSF/1 V2.0....

This bug has now been fixed in FreeBSD (it will be fixed in release 1.1.5).
Doing a find and a grep through the entire BSD (in this case FreeBSD) source
tree shows up a number of suspicious looking select calls.  This will 
need more looking into, but I will leave this for FreeBSD 2.0

(Out of interest: Gene Spafford -- in one of his internet worm papers -- 
criticized the author of the worm for sloppy programming for only
using the value "32" in his select calls ;-)

Geoff.
--
 Geoff Rehmet, Computer Science Department,   | ____   _ o         /\
  Rhodes University,  South Africa            |___  _-\_<,        / /\/\
 FreeBSD core team                            |    (*)/'(*)    /\/ /  \ \
     csgr@cs.ru.ac.za, csgr@freefall.cdrom.com, geoff@neptune.ru.ac.za


      reply	other threads:[~1994-06-03  9:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CqGvwM.CEG@atria.com>
1994-06-02 20:58 ` bug in libc/rcmd.c (selects only on 32 descriptors!) John T. Kohl
1994-06-03  9:40   ` Geoff Rehmet [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox