[10715] in Athena Bugs
inetd
daemon@ATHENA.MIT.EDU (John Carr)
Thu Jul 29 10:20:25 1993
To: bugs@Athena.MIT.EDU, bug-dialup@Athena.MIT.EDU
Date: Thu, 29 Jul 1993 10:20:17 EDT
From: John Carr <jfc@Athena.MIT.EDU>
On a DECstation running 7.4 or 7.6, if an inetd service is unswitched and
inetd shuts down another service due to too many requests, then the next
request for the first service will cause inetd to dump core. This appears
to be caused by use of a negative argument to one of the FD_* select macros.
inetd does not crash if the service is switched and enabled with access_on.
This is the cause of the recent inetd crash on primavera.
A bug was fixed in the athena inetd that is likely related:
revision 1.21
date: 93/02/13 00:08:30; author: probe; state: Exp; lines added/del: 3/1
If the fd is not active (-1), don't bother with FD_ISSET, since that may
reference a negative array element of the fd_set structure... (oops).