]> granicus.if.org Git - apache/commitdiff
Fix a segfault in ab when run in verbose mode using https.
authorDaniel Earl Poirier <poirier@apache.org>
Wed, 23 Sep 2009 18:57:07 +0000 (18:57 +0000)
committerDaniel Earl Poirier <poirier@apache.org>
Wed, 23 Sep 2009 18:57:07 +0000 (18:57 +0000)
PR: 46393
Submitted by: Stefan Fritsch <sf sfritsch.de>, Ryan Niebur
Reviewed by: poirier

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@818204 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
support/ab.c

diff --git a/CHANGES b/CHANGES
index 5debcbc0c80974283016ef88b048cb96fefd591f..e0d13323baa1fc580efc31764429bdfe84729be3 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -10,6 +10,9 @@ Changes with Apache 2.3.3
      mod_proxy_ftp: NULL pointer dereference on error paths.
      [Stefan Fritsch <sf fritsch.de>, Joe Orton]
 
+  *) ab: ab segfaults in verbose mode on https sites
+     PR46393.  [Ryan Niebur]
+
   *) mod_dav: Allow other modules to become providers and add resource types
      to the DAV response. [Jari Urpalainen <jari.urpalainen nokia.com>,
      Brian France <brian brianfrance.com>]
index 1d80efe62c130b1cb166ca45291b941f92e5acb9..291456e238580deed8f5e464ced78f1e8a88498b 100644 (file)
@@ -580,7 +580,6 @@ static void ssl_print_info(struct connection *c)
         for (i=1; i<count; i++) {
             cert = (X509 *)SK_VALUE(sk, i);
             ssl_print_cert_info(bio_out, cert);
-            X509_free(cert);
     }
     }
     cert = SSL_get_peer_certificate(c->ssl);