gnutls-devel
[Top][All Lists]
Advanced

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

[sr #107804] privkey memory leak in server handshake


From: Dan Winship
Subject: [sr #107804] privkey memory leak in server handshake
Date: Sat, 17 Sep 2011 19:11:22 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20100101 Firefox/6.0.2

Follow-up Comment #2, sr #107804 (project gnutls):

yes, that works, although with that out of the way I noticed a second leak;
you need to add

+         gnutls_free (st2.cert.x509);

to the GNUTLS_CRT_X509 cleanup at the end of call_get_cert_callback(). (It's
freeing the certs, but not the array containing them.)


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/support/?107804>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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