[issue7672] _ssl module causes segfault

Sean Soria report at bugs.python.org
Wed Jan 13 04:31:13 CET 2010


Sean Soria <bugs.python at seansoria.com> added the comment:

Simply unloading the callbacks wouldn't be wise. Callbacks are necessary for proper thread safety with libcrypto (man pages says random crashing could occur without them). So setting them to NULL could cause random crashing which is even worse than what's there now. Restoring the existing callbacks is one option. It's also not thread safe to be chaing the callbacks all the time. Is it critical that Python install its own callbacks over whatever the app has provided?

----------

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


More information about the Python-bugs-list mailing list