From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d97015bfeb1e07eb,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-06-03 02:45:16 PST Newsgroups: comp.unix.osf.osf1 Path: bga.com!news.sprintlink.net!hookup!usc!howland.reston.ans.net!ee.und.ac.za!csir.co.za!hippo.ru.ac.za!Braae!g89r4222 From: csgr@cs.ru.ac.za (Geoff Rehmet) Subject: Re: bug in libc/rcmd.c (selects only on 32 descriptors!) Message-ID: Sender: news@hippo.ru.ac.za (Usenet News Admin) Reply-To: csgr@cs.ru.ac.za Organization: Rhodes University, Grahamstown, South Africa References: Date: Fri, 3 Jun 1994 09:40:24 GMT In jtk@atria.com (John T. Kohl) writes: >In article jtk@atria.com (me!) wrote: >>>>>> "JTK" == John T Kohl >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