commit | 4ad50a469db95965e71af211e4d2628af8a5d9dc | [log] [tgz] |
---|---|---|
author | Emeric Brun <ebrun@exceliance.fr> | Tue Sep 17 15:19:54 2013 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Sep 17 23:19:27 2013 +0200 |
tree | 15483f638a0e9146cdb1e504955314edef4cf45e | |
parent | 9a05945bd08be144bc6ae0551f7c2fa2b8359d12 [diff] |
BUG/MEDIUM: ssl: potential memory leak using verifyhost If server certificate presents dns aliases, a memory leak appears on health checks when 'verifyhost' statement is used.
diff --git a/src/ssl_sock.c b/src/ssl_sock.c index a55a5bf..4ae27fc 100644 --- a/src/ssl_sock.c +++ b/src/ssl_sock.c
@@ -861,6 +861,7 @@ } } } + sk_GENERAL_NAME_pop_free(alt_names, GENERAL_NAME_free); } cert_subject = X509_get_subject_name(cert);