[Help-gnutls] possible memory leak in _gnutls_free_auth_info()

Nikos Mavrogiannopoulos nmav at gnutls.org
Sat Nov 15 16:49:06 CET 2008


Michael Weiser wrote:
> Hello,
> 
> I think I found a memory leak with PSK authentication. After one
> successful gnutls_handshake on a fresh session, the leaks tool on my Mac
> reports the memory leaks shown below (edited for readability).
> I tracked this to a missing case for GNUTLS_CRD_PSK in
> _gnutls_free_auth_info() and fixed it using the attached patch. It's
> against 2.6.0 but applies cleanly to 2.6.2.

Thank you for the trace and the patch. Applied!

regards,
Nikos





More information about the Gnutls-devel mailing list