The branch OpenSSL_1_0_2-stable has been updated via 6180c0ff0c34b4029bd9d1bec519c8cbc6be4808 (commit) from 32cc4c2627e8f582d906b03abf763f682c7f96dd (commit)
- Log ----------------------------------------------------------------- commit 6180c0ff0c34b4029bd9d1bec519c8cbc6be4808 Author: Marcus Meissner <meiss...@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 <t...@openssl.org> Reviewed-by: Rich Salz <rs...@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) RSAerr(RSA_F_RSA_NEW_METHOD, ERR_R_MALLOC_FAILURE); return NULL; } + memset(ret,0,sizeof(RSA)); ret->meth = RSA_get_default_method(); #ifndef OPENSSL_NO_ENGINE _____ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits