[PATCH] fix segv in pthread_mutex::init

Thomas Pfaff tpfaff@gmx.net
Thu Oct 17 01:11:00 GMT 2002


This patch should fix the segfault in pthread_mutex::init by changing the
test order for a valid object and checking for valid initializer object
first..

Thomas


2002-10-17  Thomas Pfaff  <tpfaff@gmx.net>

	* thread.cc (verifyable_object_isvalid): Test for static object	first.
	(pthread_mutex::init): Add test for valid initializer object.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: init.patch
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20021017/c29aac72/attachment.ksh>


More information about the Cygwin-patches mailing list