[issue33795] Memory leak in X509StoreContext class.

2018-06-07 Thread Tim Boddy
New submission from Tim Boddy : I noticed a memory leak /usr/lib/python3.5/site-packages/OpenSSL/crypto.py in the definition of the class X509StoreContext. The problem is that the __init__ function calls self._init() then later the function verify_certificate calls _init() again. In spite of

[issue33795] Memory leak in X509StoreContext class.

2018-06-07 Thread Tim Boddy
Tim Boddy added the comment: Thank you for helping me figure out the correct place to file this. Is there a quick way for me to evaluate in the future wither a particular file belongs to the standard library? -- resolution: not a bug -> status: closed ->

[issue33795] Memory leak in X509StoreContext class.

2018-06-07 Thread Tim Boddy
Tim Boddy added the comment: It looks as if the issue has been fixed here: https://github.com/pyca/pyopenssl/blob/179eb1d0917ddc1067d056127e08e952206e0e91/src/OpenSSL/crypto.py#L1790 Thanks again for pointing me to the correct place! I'm sorry that I accidentally change the status

[issue33795] Memory leak in X509StoreContext class.

2018-06-07 Thread Tim Boddy
Tim Boddy added the comment: Would a leak associated with this stack trace fall within the domain of bugs.python.org? I do see site-packages on ths stack in frames 1 and 2 but frame 3 is in /lib/libpython3.5m.so.1.0: 55904900 #0 __GI___libc_malloc (bytes=8) at malloc.c:2910 #1

[issue33795] Memory leak in X509StoreContext class.

2018-06-07 Thread Tim Boddy
Tim Boddy added the comment: I'm sorry that I changed the resolution by accident. -- resolution: not a bug -> third party ___ Python tracker <https://bugs.python.org