This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] fix segv in pthread_mutex::init


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.

Attachment: init.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]