CVSROOT:        /cvs
Module name:    src
Changes by:     dera...@cvs.openbsd.org 2021/12/07 11:13:45

Modified files:
        lib/libc/gen   : getpwent.c 

Log message:
The ypproto buffer (which supports + lines in master.passwd) was correct
length for maximum amount of strings, but forgot about the struct passwd
taken from the start, and it isn't clear if the missing non-string elements
cover for that shortage.  It would require misconfiguration by root to
exceed the buffer.  As well, the strings don't need to be aligned, and
thus sys/param.h isn't needed for ALIGN()
ok millert

Reply via email to