[3176] in Athena Bugs
Ultrix 3.1 (PMAX) gethostby* coredumps
daemon@ATHENA.MIT.EDU (mar@ATHENA.MIT.EDU)
Tue Sep 12 15:36:15 1989
From: <mar@ATHENA.MIT.EDU>
Date: Tue, 12 Sep 89 15:35:59 -0400
To: bugs@ATHENA.MIT.EDU
On line 845 of lib/libc/net/gethostent.c in the Ultrix 3.1 sources,
the routine init_svcorder does an fopen of /etc/svcorder and doesn't
check to see if the open was successfull before doing an fgets on the
stream. This means that if this file doesn't exist, or an other error
happens while opening it, then any program which attempts to resolve
names will coredump.
-Mark