[openssl-commits] [openssl] master update

Dr. Stephen Henson steve at openssl.org
Mon Sep 28 13:29:27 UTC 2015


The branch master has been updated
       via  d40a1f72b6a298ee34c9de2c96b222d70609ce4c (commit)
      from  3a79618474f28537564f172b7aa8533e352b5dc5 (commit)


- Log -----------------------------------------------------------------
commit d40a1f72b6a298ee34c9de2c96b222d70609ce4c
Author: Dr. Stephen Henson <steve at openssl.org>
Date:   Sun Sep 20 13:59:49 2015 +0100

    SRP memory leak fix
    
    Reviewed-by: Richard Levitte <levitte at openssl.org>

-----------------------------------------------------------------------

Summary of changes:
 apps/s_client.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/apps/s_client.c b/apps/s_client.c
index e990a43..d76f921 100644
--- a/apps/s_client.c
+++ b/apps/s_client.c
@@ -2023,6 +2023,9 @@ int s_client_main(int argc, char **argv)
     EVP_PKEY_free(key);
     sk_X509_pop_free(chain, X509_free);
     OPENSSL_free(pass);
+#ifndef OPENSSL_NO_SRP
+    OPENSSL_free(srp_arg.srppassin);
+#endif
     X509_VERIFY_PARAM_free(vpm);
     ssl_excert_free(exc);
     sk_OPENSSL_STRING_free(ssl_args);


More information about the openssl-commits mailing list