Could it be because of a misuse of X509_dup() or CRYPTO_add( ..., 1,
CRYPTO_LOCK_X509 )
in a copy constructor or an assignment operator ?
#10 0x08052673 in CertificateRemote::cleanup_x509 (this=0x9bb55f0) at
syfer/crypto/Certificate.cpp:309
What could be possible reason for the above crash ?
Almost certainly something corrupted in your heap. It could be that code
between the create and the free
gets a pointer into a field/element in the X509 (like Subject name, or an
individual AVA in Subject name,
or some particular extension, etc. etc.) and uses that pointer to store
something it
Is it because x509 is a local variable in 1 function & freed in another?
PK
On Thu, Oct 3, 2013 at 5:22 PM, Sanjay Kumar (sanjaku5)
wrote:
> Hi,
>
> ** **
>
> I have below 2 functions
>
> ** **
>
> **1. **Received the certificate data is DER format and convert to
> X509 format