summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-03-01 23:33:13 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-03-01 23:33:13 +0100
commitfc1221e77b5378119e811725378b53b5ba96d84d (patch)
tree86f1d647beedcb9d0f4948af28e0a2ef6c9e2cb5
parent517aee329836d13dcf5656a38278e10cd3f0f1f9 (diff)
downloadgnutls-fc1221e77b5378119e811725378b53b5ba96d84d.tar.gz
Eliminate double free during SRP authentication.
-rw-r--r--NEWS3
-rw-r--r--lib/auth/srp.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index db964f78f2..87df90e334 100644
--- a/NEWS
+++ b/NEWS
@@ -10,6 +10,9 @@ system (the full git repository)
** command line apps: Link with local libopts if the
installed is an old one.
+** libgnutls: Eliminate double free during SRP
+authentication. Reported by Peter Penzov.
+
** libgnutls: Corrections in record packet parsing.
Reported by Matthew Hall.
diff --git a/lib/auth/srp.c b/lib/auth/srp.c
index 539c6b3927..2bb619116e 100644
--- a/lib/auth/srp.c
+++ b/lib/auth/srp.c
@@ -244,8 +244,6 @@ _gnutls_gen_srp_server_kx (gnutls_session_t session, gnutls_buffer_st* data)
_gnutls_mpi_log ("SRP B: ", B);
- _gnutls_srp_entry_free (pwd_entry);
-
ret = data->length;
cleanup: