Re: freeing of X509_CRL object.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Someone please answer below query.

On Mon, May 7, 2018 at 2:12 PM, Raghavendra a <raghuasit@xxxxxxxxx> wrote:
Hi,

I my program , converting X509_CRL object to string format using X509_CRL_print and BIO_get_mem_data. After that if i use X509_CRL_free(_x509crl) it is crashing below reason.

Valgrind output:
==31919== Invalid read of size 4
==31919==    at 0xB475EF2: CRYPTO_atomic_add (threads_pthread.c:155)
==31919==    by 0xB355537: asn1_do_lock (tasn_utl.c:79)
==31919==    by 0xB352767: asn1_item_embed_free (tasn_fre.c:88)
==31919==    by 0xB3528D4: ASN1_item_free (tasn_fre.c:20)

not sure if X509_CRL_print using nested pointers of x509_CRL object and freeing them, external freeing of X509_CRL again leading to double free?
Please help on this issue.


Regards,
Raghavendra



-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux