[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU gnutls branch, gnutls_2_12_x, updated. gnutls_2_12_10-6-g389e8
From: |
Nikos Mavrogiannopoulos |
Subject: |
[SCM] GNU gnutls branch, gnutls_2_12_x, updated. gnutls_2_12_10-6-g389e8e8 |
Date: |
Sat, 17 Sep 2011 22:17:30 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU gnutls".
http://git.savannah.gnu.org/cgit/gnutls.git/commit/?id=389e8e8d5cef6f2c1a68199191de29c563ffeb70
The branch, gnutls_2_12_x has been updated
via 389e8e8d5cef6f2c1a68199191de29c563ffeb70 (commit)
from f0bb4555cb6ee50cbda38c5631f9d4d9c8a5aabe (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 389e8e8d5cef6f2c1a68199191de29c563ffeb70
Author: Nikos Mavrogiannopoulos <address@hidden>
Date: Sat Sep 17 19:03:33 2011 +0200
Corrected memory leak in privkey deinitialization. Reported by Dan Winship.
-----------------------------------------------------------------------
Summary of changes:
NEWS | 3 +++
lib/auth_cert.c | 2 ++
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/NEWS b/NEWS
index 0fd87e3..4a0e902 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,9 @@ See the end for copying conditions.
Version 2.12.11 (unreleased)
+** libgnutls: Memory leak fixes in credentials private key
+deinitialization. Reported by Dan Winship.
+
** libgnutls: Allow CA importing of 0 certificates to succeed.
Reported by Jonathan Nieder <address@hidden> in
<http://bugs.debian.org/640639>.
diff --git a/lib/auth_cert.c b/lib/auth_cert.c
index 66aaf0b..7c36ea4 100644
--- a/lib/auth_cert.c
+++ b/lib/auth_cert.c
@@ -615,6 +615,7 @@ cleanup:
{
gnutls_x509_crt_deinit (st2.cert.x509[i]);
}
+ gnutls_free(st2.cert.x509);
}
}
else
@@ -2025,6 +2026,7 @@ _gnutls_selected_certs_deinit (gnutls_session_t session)
session->internals.selected_cert_list = NULL;
session->internals.selected_cert_list_length = 0;
+ gnutls_privkey_deinit(session->internals.selected_key);
session->internals.selected_key = NULL;
}
hooks/post-receive
--
GNU gnutls
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU gnutls branch, gnutls_2_12_x, updated. gnutls_2_12_10-6-g389e8e8,
Nikos Mavrogiannopoulos <=