freebsd-nq/usr.sbin/lpr/lpc
Alfred Perlstein 00e64813a2 the code assumes that getgroups() always returns NGROUPS groups, however
that is not true.  Instead of looping NGROUPS times, get the return value
from getgroups() and loop over the return that many times.

Noticed by: David A. Holland <dholland@eecs.harvard.edu>
2000-08-23 23:36:32 +00:00
..
cmds.c
cmdtab.c
extern.h
lpc.8
lpc.c the code assumes that getgroups() always returns NGROUPS groups, however 2000-08-23 23:36:32 +00:00
lpc.h
Makefile