Branch: refs/heads/openssl-3.0 Home: https://github.openssl.org/openssl/openssl Commit: 6b42c74b0677560017df08c452342355adfd1ecc https://github.openssl.org/openssl/openssl/commit/6b42c74b0677560017df08c452342355adfd1ecc Author: Zhou Qingyang <zhou1...@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 <pa...@openssl.org> Reviewed-by: Tomas Mraz <to...@openssl.org> (Merged from https://github.com/openssl/openssl/pull/18077) (cherry picked from commit bcd5645b34c319b8e4d72d6850ead80e85f18921)