Subject: CVS commit: basesrc/lib/libc/gen
To: None <source-changes@netbsd.org>
From: Charles M. Hannum <mycroft@netbsd.org>
List: source-changes
Date: 02/12/2002 20:58:05
Module Name:	basesrc
Committed By:	mycroft
Date:		Tue Feb 12 18:58:04 UTC 2002

Modified Files:
	basesrc/lib/libc/gen: getpwent.c

Log Message:
Just return an error if we try to look up a user name that's too long, rather
than trying to truncate.  The previous truncation code actually set key.size
too large and caused a (non-exploitable) core dump inside DB.


To generate a diff of this commit:
cvs rdiff -r1.48 -r1.49 basesrc/lib/libc/gen/getpwent.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.