[Python-bugs-list] [ python-Bugs-461358 ] SSL constructor/destructor bugs

noreply@sourceforge.net noreply@sourceforge.net
Thu, 13 Sep 2001 14:17:01 -0700


Bugs item #461358, was opened at 2001-09-13 14:17
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=461358&group_id=5470

Category: Python Library
Group: Python 2.1.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: SSL constructor/destructor bugs

Initial Comment:
routine newSSLObject() in socketmodule.c does not 
initialize variables which SSL_dealloc() frees.

SSL_dealloc() calls SSL_CTX_free() and then SSL_free
().  However, SSL_free() also frees the CTX.

in SSLObject, variable 'x_attr' seems to be 
unnecessary and maybe the source of a memory leak.



----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=461358&group_id=5470