[openssl-commits] [openssl] OpenSSL source code branch OpenSSL_1_0_1-stable updated. OpenSSL_1_0_1j-61-gc6a84ff

Matt Caswell matt at openssl.org
Fri Dec 12 23:56:22 UTC 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "OpenSSL source code".

The branch, OpenSSL_1_0_1-stable has been updated
       via  c6a84ff3516d8ecd92d866b6f0ae0d63df6d9c53 (commit)
      from  b8b9bcb4587f6df315223ae18ec10ecdb5a9dab8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c6a84ff3516d8ecd92d866b6f0ae0d63df6d9c53
Author: Matt Caswell <matt at openssl.org>
Date:   Thu Dec 4 10:18:40 2014 +0000

    Fix use of NULL memory pointer in X509_VERIFY_PARAM_new in the event of a
    malloc failure.
    
    Reviewed-by: Kurt Roeckx <kurt at openssl.org>

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

Summary of changes:
 crypto/x509/x509_vpm.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/crypto/x509/x509_vpm.c b/crypto/x509/x509_vpm.c
index dfd89d8..ba546bd 100644
--- a/crypto/x509/x509_vpm.c
+++ b/crypto/x509/x509_vpm.c
@@ -89,6 +89,8 @@ X509_VERIFY_PARAM *X509_VERIFY_PARAM_new(void)
 	{
 	X509_VERIFY_PARAM *param;
 	param = OPENSSL_malloc(sizeof(X509_VERIFY_PARAM));
+	if (!param)
+		return NULL;
 	memset(param, 0, sizeof(X509_VERIFY_PARAM));
 	x509_verify_param_zero(param);
 	return param;


hooks/post-receive
-- 
OpenSSL source code


More information about the openssl-commits mailing list