[openssl-commits] [openssl] OpenSSL_1_0_1-stable update

Dr. Stephen Henson steve at openssl.org
Mon Sep 28 13:35:36 UTC 2015


The branch OpenSSL_1_0_1-stable has been updated
       via  7794c355eadd49d2fc1670b1dc8ac19f1e93c26f (commit)
      from  dfa08ea7502d58e10d222165c0200075ef6bb739 (commit)


- Log -----------------------------------------------------------------
commit 7794c355eadd49d2fc1670b1dc8ac19f1e93c26f
Author: Dr. Stephen Henson <steve at openssl.org>
Date:   Mon Sep 28 14:31:53 2015 +0100

    SRP memory leak fix
    
    Reviewed-by: Richard Levitte <levitte at openssl.org>
    (cherry picked from commit 92ea6fe597238779e23fd9e1fee82d30641d61a8)

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

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 28737b6..16833ac 100644
--- a/apps/s_client.c
+++ b/apps/s_client.c
@@ -1884,6 +1884,9 @@ int MAIN(int argc, char **argv)
         EVP_PKEY_free(key);
     if (pass)
         OPENSSL_free(pass);
+#ifndef OPENSSL_NO_SRP
+    OPENSSL_free(srp_arg.srppassin);
+#endif
     if (vpm)
         X509_VERIFY_PARAM_free(vpm);
     if (cbuf != NULL) {


More information about the openssl-commits mailing list