Have-a-question-about-this-project
Have-a-question-about-this-project
I've written a patch that seems to fix the issue. I based it on the implementation of the call to sk_X509_EXTENSION_value in cryptography-2.8/src/cryptography/hazmat/backends/openssl/x509.py _CertificateSigningRequest.extensions ``` --- pyOpenSSL-19.1.0/src/OpenSSL/crypto.py 2020-03-13 13:47:15.854098906 +0000...
That patch isn't right, I'm getting a segv after applying it and running more extensive testing.
The previous didn't work as it freed the entire extension list when we still needed it. This patch appears to work for me: ``` --- pyOpenSSL-19.1.0/src/OpenSSL/crypto.py 2020-03-13 17:55:46.404632944 +0000 +++...
Its popping from the native_exts_obj which we allocate every time with _lib.X509_REQ_get_extensions and were leaking. Heres what happens when you call it twice: ``` >>> import sys, os ; pid=os.getpid()...