Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Re: bug in libc/rcmd.c (selects only on 32 descriptors!)
       [not found] <CqGvwM.CEG@atria.com>
@ 1994-06-02 20:58 ` John T. Kohl
  1994-06-03  9:40   ` Geoff Rehmet
  0 siblings, 1 reply; 2+ messages in thread
From: John T. Kohl @ 1994-06-02 20:58 UTC (permalink / raw)


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....

Digital has a patch for their shared C library, patch # OSFV20-013-1,
available through standard Digital support channels.  This should fix
the problem for rsh and anything else using rcmd(3).
--
John Kohl <jtk@atria.com> or <jtkohl@mit.edu>
working for but not representing:	Atria Software
---------
What are you pretending not to know?


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: bug in libc/rcmd.c (selects only on 32 descriptors!)
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Geoff Rehmet @ 1994-06-03  9:40 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1994-06-03  9:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox