help-gnutls
[Top][All Lists]
Advanced

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

Re: leak?


From: Nikos Mavrogiannopoulos
Subject: Re: leak?
Date: Wed, 03 Nov 2010 17:48:57 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Thunderbird/3.0.10

On 11/03/2010 05:29 PM, Mike Blumenkrantz wrote:
> Hi,
> 
> 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:
> https://svn.enlightenment.org/svn/e/trunk/ecore/src/lib/ecore_con/ecore_con_ssl.c
> 
> ==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
> (ecore_con_ssl.c:515)
> 
> 
> This leak occurs client side every single time I handshake.

Thanks it seems it was introduced with 2.10 and eliminated again in
2.11. Anyway, does the following patch solve the issue for you?

http://git.savannah.gnu.org/gitweb/?p=gnutls.git;a=commitdiff;h=f48cb4e387e0b89627310499ce5d80b3063a5ee2

regards,
Nikos



reply via email to

[Prev in Thread] Current Thread [Next in Thread]