[vlc-commits] GnuTLS: fix invalid free when adding a CRL
Rémi Denis-Courmont
git at videolan.org
Sat Jul 23 13:09:23 CEST 2011
vlc/vlc-1.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jul 23 14:02:31 2011 +0300| [47abd61159c47e08476b0ea094dd24e3ee4b7a50] | committer: Rémi Denis-Courmont
GnuTLS: fix invalid free when adding a CRL
(cherry picked from commit 378456a65441a465440a62ee40bfea53ff2d905d)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=47abd61159c47e08476b0ea094dd24e3ee4b7a50
---
modules/misc/gnutls.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/misc/gnutls.c b/modules/misc/gnutls.c
index d07103c..328e019 100644
--- a/modules/misc/gnutls.c
+++ b/modules/misc/gnutls.c
@@ -1046,7 +1046,7 @@ gnutls_ServerAddCRL( tls_server_t *p_server, const char *psz_crl_path )
(p_server->p_sys))->x509_cred,
psz_local_path,
GNUTLS_X509_FMT_PEM );
- LocaleFree( psz_crl_path );
+ LocaleFree( psz_local_path );
if( val < 0 )
{
msg_Err( p_server, "cannot add CRL (%s): %s", psz_crl_path,
More information about the vlc-commits
mailing list