[openssl-commits] [openssl] OpenSSL source code branch OpenSSL_1_0_1-stable updated. OpenSSL_1_0_1j-94-g9e9ee7e

Rich Salz rsalz at openssl.org
Sun Jan 4 19:52:25 UTC 2015

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  9e9ee7e37f3da6f5c8aecfee9a2919d417842890 (commit)
      from  500d67f15ac8199a39c3ba3861f71951766fbae4 (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 9e9ee7e37f3da6f5c8aecfee9a2919d417842890
Author: Rich Salz <rsalz at openssl.org>
Date:   Sun Jan 4 14:51:04 2015 -0500

    RT2914: NULL check missing in X509_name_canon
    Check for NULL return from X509_NAME_ENTRY_new()
    Reviewed-by: Dr. Stephen Henson <steve at openssl.org>
    (cherry picked from commit 2c60925d1ccc0b96287bdc9acb90198e7180d642)


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

diff --git a/crypto/asn1/x_name.c b/crypto/asn1/x_name.c
index d7c2318..22da570 100644
--- a/crypto/asn1/x_name.c
+++ b/crypto/asn1/x_name.c
@@ -350,6 +350,8 @@ static int x509_name_canon(X509_NAME *a)
 			set = entry->set;
 		tmpentry = X509_NAME_ENTRY_new();
+		if (!tmpentry)
+			goto err;
 		tmpentry->object = OBJ_dup(entry->object);
 		if (!asn1_string_canon(tmpentry->value, entry->value))
 			goto err;

OpenSSL source code

More information about the openssl-commits mailing list