[issue7672] _ssl module causes segfault

Martin v. Löwis report at bugs.python.org
Mon Jan 11 19:08:47 CET 2010


Martin v. Löwis <martin at v.loewis.de> added the comment:

The patch is not thread-safe. If two threads where to do the same thing simultaneously, they might (simultaneously) both determine that the lock is not installed, and then one would overwrite the lock of the other, leading exactly to the situation that the patch is meant to prevent.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7672>
_______________________________________


More information about the Python-bugs-list mailing list