Subject: CVS commit: [netbsd-3] src/lib/libc/gen
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 06/11/2005 12:15:25
Module Name:	src
Committed By:	tron
Date:		Sat Jun 11 12:15:25 UTC 2005

Modified Files:
	src/lib/libc/gen [netbsd-3]: pthread_atfork.c

Log Message:
Pull up revision 1.4 (requested by lukem in ticket #394):
Ensure that we don't try to free random memory when another malloc fails,
by initializing newprepare, newparent, and newchild to NULL.
Detected by gcc -Wuninitialized.


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.3.2.1 src/lib/libc/gen/pthread_atfork.c

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