[openssl-commits] [openssl] OpenSSL_1_0_2-stable update

Rich Salz rsalz at openssl.org
Tue Sep 20 02:06:49 UTC 2016

The branch OpenSSL_1_0_2-stable has been updated
       via  6180c0ff0c34b4029bd9d1bec519c8cbc6be4808 (commit)
      from  32cc4c2627e8f582d906b03abf763f682c7f96dd (commit)

- Log -----------------------------------------------------------------
commit 6180c0ff0c34b4029bd9d1bec519c8cbc6be4808
Author: Marcus Meissner <meissner at suse.de>
Date:   Tue Sep 6 11:01:21 2016 +0200

    initialize the RSA struct to 0.
    This helps with program code linked against static builds accessing a uninitialized ->engine pointer.
    CLA: none; trivial
    Reviewed-by: Tim Hudson <tjh at openssl.org>
    Reviewed-by: Rich Salz <rsalz at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/1540)


Summary of changes:
 crypto/rsa/rsa_lib.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/crypto/rsa/rsa_lib.c b/crypto/rsa/rsa_lib.c
index a6805de..6ea6b40 100644
--- a/crypto/rsa/rsa_lib.c
+++ b/crypto/rsa/rsa_lib.c
@@ -143,6 +143,7 @@ RSA *RSA_new_method(ENGINE *engine)
         return NULL;
+    memset(ret,0,sizeof(RSA));
     ret->meth = RSA_get_default_method();

More information about the openssl-commits mailing list