4.0B - lpd core with +_at_netgroup syntax in /etc/hosts.equiv

From: Brian C Hill <bchill_at_ucdavis.edu>
Date: Wed, 27 Aug 1997 14:04:52 -0700 (PDT)

        The subject says it all. Here is a "sctrace" of the lpd process
where the forked lpd dumps core and the dbx of the stack. I suspect
this bug has to do with the old inettgr bug that most vendors never
fixed after they got their hands on the original ONC sources (Sun and
HP, BTW, have fixed this). Replacing the netgroup with host entries
fixes the problem. I will do it that way, but I am disappointed to
another in a long list of bugs.

   ____________________________________________________________________
  / Brian C. Hill bchill_at_ucdavis.edu (530) 753-0358 \
  | Systems Programmer University of California, Davis |
  | Graduate School of Management & GIS Research Lab |

=======================================================================
=======================================================================
# sctrace -fp 2399
[15025]: open ("/etc/hosts.equiv", O_RDONLY, 0666) = 4
[15025]: fstat (4, 0x11fffedc8) = 0 [ , <8.3072.4559 -rwxr-xr-x 1 bin bin 2385 8
72712779,872712631,872712631> ]
[15025]: obreak (0x140012000) = 0
[15025]: obreak (0x140020000) = 0
[15025]: ioctl (4, 0x40067408<Out,TIOCGETP,6>, 11fffed98) = -1 (Not a typewriter
)
[15025]: read (4, 0x140011328, 8192) = 2385 [, "# \n# **************************
*********"..., ]
[15025]: getdomainname ("\37777777710K\031\37777777600\37777777777\003", 256) =
0
[15025]: SIGNAL [11 SIGSEGV]
[15025]: EXIT [signal=11]
[2399]: SIGNAL [20 SIGCHLD]
-1 (Interrupted system call)
=======================================================================
=======================================================================
# dbx /usr/lbin/lpd core
dbx version 3.11.10
Type 'help' for help.
Core file created by program "lpd"

warning: /usr/lbin/lpd has no symbol table -- very little is supported without i
t


signal Segmentation fault at >*[(unknown), 0x3ff80160130] ldq_u r0, 0(r1
8)
(dbx) t
> 0 (unknown)() [0x3ff80160130]
   1 (unknown)() [0x3ff8016021c]
   2 __innetgr(0x11ffff068, 0x11fffef05, 0x140000388, 0x100000, 0x140013940) [0x
3ff80160a24]
   3 (unknown)() [0x3ff80158624]
   4 _validuser(0x7, 0x140002b60, 0x1400034d8, 0x1400040c0, 0x140000378) [0x3ff8
0158c14]
(dbx) quit
=======================================================================
=======================================================================
Received on Wed Aug 27 1997 - 23:19:28 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:36 NZDT