dovecot-2.2: lib-ssl-iostream: Fixed a memory leak when verifyin...
dovecot at dovecot.org
dovecot at dovecot.org
Sun May 20 03:26:34 EEST 2012
details: http://hg.dovecot.org/dovecot-2.2/rev/d2b01dcce79f
changeset: 14510:d2b01dcce79f
user: Timo Sirainen <tss at iki.fi>
date: Wed Apr 25 02:48:36 2012 +0300
description:
lib-ssl-iostream: Fixed a memory leak when verifying certificate name.
This mainly mattered when proxying with SSL to remote server.
diffstat:
src/lib-ssl-iostream/iostream-openssl.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r b1653b7bd165 -r d2b01dcce79f src/lib-ssl-iostream/iostream-openssl.c
--- a/src/lib-ssl-iostream/iostream-openssl.c Tue Apr 24 21:12:36 2012 +0300
+++ b/src/lib-ssl-iostream/iostream-openssl.c Wed Apr 25 02:48:36 2012 +0300
@@ -517,6 +517,8 @@
}
}
sk_GENERAL_NAME_pop_free(gnames, GENERAL_NAME_free);
+ X509_free(cert);
+
/* verify against CommonName only when there wasn't any DNS
SubjectAltNames */
if (dns_names)
More information about the dovecot-cvs
mailing list