Leak in SSL_do_handshake

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

 



Hi,

I'm using SSL_do_handshake, and I'd like to know how to free the
memory allocated internally by this function.

Via valgrind, I'm getting this trace:

==7430== 4,169 (104 direct, 4,065 indirect) bytes in 1 blocks are
definitely lost in loss record 51 of 51
==7430==    at 0x4028308: malloc (vg_replace_malloc.c:263)
==7430==    by 0x40EF05B: default_malloc_ex (in
/usr/lib/i386-linux-gnu/i686/cmov/libcrypto.so.1.0.0)
==7430==    by 0x40EF755: CRYPTO_malloc (in
/usr/lib/i386-linux-gnu/i686/cmov/libcrypto.so.1.0.0)
==7430==    by 0x41ACE6C: asn1_item_ex_combine_new (in
/usr/lib/i386-linux-gnu/i686/cmov/libcrypto.so.1.0.0)
==7430==    by 0x41B047C: ASN1_item_ex_d2i (in
/usr/lib/i386-linux-gnu/i686/cmov/libcrypto.so.1.0.0)
==7430==    by 0x41B0C34: ASN1_item_d2i (in
/usr/lib/i386-linux-gnu/i686/cmov/libcrypto.so.1.0.0)
==7430==    by 0x41A7B14: d2i_X509 (in
/usr/lib/i386-linux-gnu/i686/cmov/libcrypto.so.1.0.0)
==7430==    by 0x4055873: ssl3_get_server_certificate (in
/usr/lib/i386-linux-gnu/i686/cmov/libssl.so.1.0.0)
==7430==    by 0x405A7CF: ssl3_connect (in
/usr/lib/i386-linux-gnu/i686/cmov/libssl.so.1.0.0)
==7430==    by 0x407BCDC: SSL_do_handshake (in
/usr/lib/i386-linux-gnu/i686/cmov/libssl.so.1.0.0)

# openssl version
OpenSSL 1.0.2a 19 Mar 2015

please tell me if you need more info,
thank you,
Nicolas


[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