Mike Blumenkrantz mike at zentific.com
Wed Nov 3 17:29:03 CET 2010


I've been valgrinding some of my gnutls-using apps and have found what appears
to be a small leak in the handshaking code (using 2.10.2).  ecore_con_ssl.c can
be found here:

==19053== 1,024 bytes in 1 blocks are definitely lost in loss record 146 of 160
==19053==    at 0x4027A66: malloc (vg_replace_malloc.c:236)
==19053==    by 0x40B77D4: _gnutls_send_client_hello (gnutls_handshake.c:1985)
==19053==    by 0x40B8253: _gnutls_send_hello (gnutls_handshake.c:2299)
==19053==    by 0x40B9037: _gnutls_handshake_client (gnutls_handshake.c:2775)
==19053==    by 0x40B8F0D: gnutls_handshake (gnutls_handshake.c:2699)
==19053==    by 0x4055063: _ecore_con_ssl_server_init_gnutls

This leak occurs client side every single time I handshake.

Mike Blumenkrantz
Zentific: Our boolean values are huge.

More information about the Gnutls-help mailing list