Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/lib/libc/gen
Module Name: src
Committed By: lukem
Date: Wed Jun 1 05:30:54 UTC 2005
Modified Files:
src/lib/libc/gen: pthread_atfork.c
Log Message:
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.4 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.
Home |
Main Index |
Thread Index |
Old Index