[openssl-commits] [openssl] OpenSSL source code branch OpenSSL_1_0_0-stable updated. OpenSSL_1_0_0o-41-gaf8a66d
Matt Caswell
matt at openssl.org
Fri Dec 12 23:56:32 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_0-stable has been updated
via af8a66d10d320b614a60493c94cf5995a3639f87 (commit)
from ec5c25b3b46078de5af092b67916140fa9ca147b (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 af8a66d10d320b614a60493c94cf5995a3639f87
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>
(cherry picked from commit c6a84ff3516d8ecd92d866b6f0ae0d63df6d9c53)
-----------------------------------------------------------------------
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