1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-21 02:48:46 +00:00
freebsd/lib/libc
Maxim Konovalov 0ec15b18a2 o compat_group() and files_group() are more complicated than I thought
in rev. 1.34.  Mainly I missed the fact that the buffer is used for two
purposes:

1) storing a group line from the group file;

2) __gr_parse_entry() parses the buffer and tries to put the group
members to the remaining part of the buffer and can fail if there
is no enough room for them.

Re-arrange the buffer size checks to account the latter case.

Submitted by:	Kirk R Webb
MFC after:	2 weeks
2006-07-14 17:45:33 +00:00
..
alpha
amd64
arm
compat-43
db
gdtoa
gen
gmon
i386
ia64
include
inet
isc
locale
nameser
net
nls
posix1e
powerpc
quad
regex
resolv
rpc
softfloat
sparc64
stdio
stdlib
stdtime
string
sys
uuid
xdr
yp
Makefile
Versions.def