Commit 9ffb21c9 authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

  Fix memory leak in mod_ssl from internal SSL library allocations
  within SSL_get_peer_certificate and X509_get_pubkey.

Submitted by:	Zvi Har'El <rl@math.technion.ac.il>
Reviewed by:	Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97344 13f79535-47bb-0310-9956-ffa450edef68
parent 1eb9211d
Loading
Loading
Loading
Loading
+1 −0
Changes for ssl_engine_init.c: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -807,6 +807,7 @@ static int ssl_server_import_key(server_rec *s,
            ap_log_error(APLOG_MARK, APLOG_ERR, 0, s,
                    "Copying DSA parameters from private key to certificate");
            ssl_log_ssl_error(APLOG_MARK, APLOG_ERR, s);
            EVP_PKEY_free(pubkey);
        }
    }