openssl/crypto/x509
Zhou Qingyang bcd5645b34 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@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18077)
2022-04-12 13:07:08 +02:00
..
build.info
by_dir.c Move e_os.h to include/internal 2022-02-05 05:31:09 +01:00
by_file.c
by_store.c
ext_dat.h
pcy_cache.c fix some code with obvious wrong coding style 2021-10-28 13:10:46 +10:00
pcy_data.c
pcy_lib.c
pcy_local.h
pcy_map.c
pcy_node.c fix some code with obvious wrong coding style 2021-10-28 13:10:46 +10:00
pcy_tree.c
standard_exts.h
t_crl.c
t_req.c
t_x509.c add OSSL_STACK_OF_X509_free() for commonly used pattern 2021-12-21 12:11:49 +01:00
v3_addr.c
v3_admis.c fix some code with obvious wrong coding style 2021-10-28 13:10:46 +10:00
v3_admis.h
v3_akeya.c
v3_akid.c v2i_AUTHORITY_KEYID(): Improve error reporting on parsing config values/options 2022-01-07 10:45:49 +01:00
v3_asid.c
v3_bcons.c
v3_bitst.c
v3_conf.c Add and use HAS_PREFIX() and CHECK_AND_SKIP_PREFIX() for checking if string has literal prefix 2021-11-17 15:48:34 +01:00
v3_cpols.c Add and use HAS_PREFIX() and CHECK_AND_SKIP_PREFIX() for checking if string has literal prefix 2021-11-17 15:48:34 +01:00
v3_crld.c Fix: some patches related to error exiting 2022-01-07 21:11:37 +11:00
v3_enum.c
v3_extku.c
v3_genn.c
v3_ia5.c
v3_info.c
v3_int.c
v3_ist.c Fix typos 2022-01-05 12:37:20 +01:00
v3_lib.c
v3_ncons.c Add and use HAS_PREFIX() and CHECK_AND_SKIP_PREFIX() for checking if string has literal prefix 2021-11-17 15:48:34 +01:00
v3_pci.c Add and use HAS_PREFIX() and CHECK_AND_SKIP_PREFIX() for checking if string has literal prefix 2021-11-17 15:48:34 +01:00
v3_pcia.c fix some code with obvious wrong coding style 2021-10-28 13:10:46 +10:00
v3_pcons.c
v3_pku.c
v3_pmaps.c
v3_prn.c
v3_purp.c
v3_san.c X509V3_set_ctx(): Clarify subject/req parameter for constructing SAN email addresses from subject DN 2021-12-07 15:14:49 +01:00
v3_skid.c X509V3_set_ctx(): Clarify use of subject/req parameter for constructing SKID by hash of pubkey 2021-12-07 15:13:26 +01:00
v3_sxnet.c Fix: some patches related to error exiting 2022-01-07 21:11:37 +11:00
v3_tlsf.c Move e_os.h to include/internal 2022-02-05 05:31:09 +01:00
v3_utf8.c Fix typos 2022-01-05 12:37:20 +01:00
v3_utl.c Add return value check of X509V3_add_value() in X509V3_parse_list() 2022-04-12 13:07:08 +02:00
v3err.c v2i_AUTHORITY_KEYID(): Improve error reporting on parsing config values/options 2022-01-07 10:45:49 +01:00
x509_att.c
x509_cmp.c Fix: invoking X509_self_signed improperly 2021-11-09 08:50:40 +01:00
x509_d2.c
x509_def.c
x509_err.c
x509_ext.c
x509_local.h
x509_lu.c x509: add the check for X509_STORE_lock 2022-01-26 12:08:47 +01:00
x509_meth.c
x509_obj.c
x509_r2x.c
x509_req.c
x509_set.c
x509_trust.c x509: handle returns from X509_TRUST_get_by_id() more consistently 2022-02-21 11:42:34 +11:00
x509_txt.c
x509_v3.c
x509_vfy.c Ensure X509_STORE_CTX_purpose_inherit handles a 0 default purpose 2022-01-27 15:29:54 +00:00
x509_vpm.c
x509cset.c
x509name.c
x509rset.c
x509spki.c
x509type.c
x_all.c
x_attrib.c
x_crl.c fix some code with obvious wrong coding style 2021-10-28 13:10:46 +10:00
x_exten.c
x_name.c Fix: invoking x509_name_cannon improperly 2021-11-09 10:05:09 +10:00
x_pubkey.c Fix typos 2022-01-05 12:37:20 +01:00
x_req.c
x_x509.c X509_dup: Avoid duplicating the embedded EVP_PKEY 2021-10-25 14:32:43 +02:00
x_x509a.c