[openssl/openssl] bcd564: Add return value check of X509V3_add_value() in X5...
Tomas Mraz
noreply at reply.github.openssl.org
Tue Apr 12 11:07:31 UTC 2022
Branch: refs/heads/master
Home: https://github.openssl.org/openssl/openssl
Commit: bcd5645b34c319b8e4d72d6850ead80e85f18921
https://github.openssl.org/openssl/openssl/commit/bcd5645b34c319b8e4d72d6850ead80e85f18921
Author: Zhou Qingyang <zhou1615 at umn.edu>
Date: 2022-04-12 (Tue, 12 Apr 2022)
Changed paths:
M crypto/x509/v3_utl.c
Log Message:
-----------
Add return value check of X509V3_add_value() in X509V3_parse_list()
X509V3_add_value() will return 0 on malloc failure, which could lead to
err logic in X509V3_parse_list().
Fix this by adding return value check of X509V3_add_value().
Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18077)
More information about the openssl-commits
mailing list