]> granicus.if.org Git - python/commit
In newSSLObject(), initialize the various members of an SSLObject to NULL.
authorJeremy Hylton <jeremy@alum.mit.edu>
Wed, 10 Oct 2001 03:37:05 +0000 (03:37 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Wed, 10 Oct 2001 03:37:05 +0000 (03:37 +0000)
commitec4b545014eefca5a0a6b3af6f5fd5882f585146
treea1789906acc5caef16f9cdecca3de0aab2e1f9c5
parentab0064574b0bf8ae8b249d499d8521414cc584e1
In newSSLObject(), initialize the various members of an SSLObject to NULL.
In SSL_dealloc(), free/dealloc them only if they're non-NULL.

Fixes some obvious core dumps, but not sure yet if there are more
semantics to the SSL calls that would affect the dealloc.
Modules/socketmodule.c