Possible deadlock in sasl_dispose

Eric Leblond eric at inl.fr
Tue Sep 2 08:20:15 EDT 2008


Hi,

It seems there is a possible deadlock in sasl_dispose: if the pointer
pconn is nullified by an other thread, the calling thread will simply
return without freeing the free_mutex mutex.

Attached patch should fix the issue.

BR,
-- 
Eric Leblond
INL: http://www.inl.fr/
NuFW: http://www.nufw.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sasl-deadlock.diff
Type: text/x-diff
Size: 322 bytes
Desc: not available
Url : https://lists.andrew.cmu.edu/mailman/private/cyrus-sasl/attachments/20080902/faf9f961/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : https://lists.andrew.cmu.edu/mailman/private/cyrus-sasl/attachments/20080902/faf9f961/attachment-0001.bin 


More information about the Cyrus-sasl mailing list