openssl/crypto/x509
Vikas Verma a8df565115 Update IPAddressOrRange_cmp function to handle switch case
As there is no default case for a->type or b->type in the switch()
statements, if the type does not fall into any defined cases
then memcmp() will be done on garbage data.

Adding default cases in both switches.

CLA: trivial

Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23082)
2023-12-19 18:24:21 +01:00
..
build.info Support all NULL-syntax X.509v3 extensions 2023-09-25 15:12:04 -04:00
by_dir.c Copyright year updates 2023-09-07 09:59:15 +01:00
by_file.c Fix loading more than one certificate in PEM format in X509_load_cert_file_ex() 2023-12-04 09:52:12 +01:00
by_store.c Copyright year updates 2023-09-07 09:59:15 +01:00
ext_dat.h Copyright year updates 2023-09-28 14:23:29 +01:00
pcy_cache.c Copyright year updates 2023-09-07 09:59:15 +01:00
pcy_data.c
pcy_lib.c
pcy_local.h Copyright year updates 2023-09-07 09:59:15 +01:00
pcy_map.c
pcy_node.c Copyright year updates 2023-09-07 09:59:15 +01:00
pcy_tree.c Copyright year updates 2023-09-07 09:59:15 +01:00
standard_exts.h Copyright year updates 2023-09-28 14:23:29 +01:00
t_crl.c
t_req.c x509_print_ex: Remove unused setting when XN_FLAG_COMPAT is set 2023-10-26 15:48:00 +01:00
t_x509.c x509_print_ex: Remove unused setting when XN_FLAG_COMPAT is set 2023-10-26 15:48:00 +01:00
v3_addr.c Update IPAddressOrRange_cmp function to handle switch case 2023-12-19 18:24:21 +01:00
v3_admis.c "foo * bar" should be "foo *bar" 2023-09-11 10:15:30 +02:00
v3_admis.h
v3_akeya.c
v3_akid.c
v3_asid.c Fix a possible use after free in X509v3_asid_add_id_or_range 2023-12-01 11:03:24 +01:00
v3_bcons.c
v3_bitst.c
v3_conf.c
v3_cpols.c
v3_crld.c
v3_enum.c
v3_extku.c
v3_genn.c Copyright year updates 2023-09-07 09:59:15 +01:00
v3_group_ac.c Support all NULL-syntax X.509v3 extensions 2023-09-25 15:12:04 -04:00
v3_ia5.c
v3_ind_iss.c Support all NULL-syntax X.509v3 extensions 2023-09-25 15:12:04 -04:00
v3_info.c
v3_int.c
v3_ist.c Copyright year updates 2023-09-07 09:59:15 +01:00
v3_lib.c Copyright year updates 2023-09-07 09:59:15 +01:00
v3_ncons.c Copyright year updates 2023-09-07 09:59:15 +01:00
v3_no_ass.c Support all NULL-syntax X.509v3 extensions 2023-09-25 15:12:04 -04:00
v3_no_rev_avail.c Support all NULL-syntax X.509v3 extensions 2023-09-25 15:12:04 -04:00
v3_pci.c
v3_pcia.c
v3_pcons.c
v3_pku.c
v3_pmaps.c
v3_prn.c
v3_purp.c Copyright year updates 2023-09-07 09:59:15 +01:00
v3_san.c Fix a possible memory leak in do_othername 2023-12-12 13:43:08 +01:00
v3_single_use.c Support all NULL-syntax X.509v3 extensions 2023-09-25 15:12:04 -04:00
v3_skid.c
v3_soa_id.c Support all NULL-syntax X.509v3 extensions 2023-09-25 15:12:04 -04:00
v3_sxnet.c
v3_tlsf.c
v3_utf8.c
v3_utl.c
v3err.c
x509_att.c Copyright year updates 2023-09-07 09:59:15 +01:00
x509_cmp.c Copyright year updates 2023-09-07 09:59:15 +01:00
x509_d2.c
x509_def.c Copyright year updates 2023-09-07 09:59:15 +01:00
x509_err.c Copyright year updates 2023-09-07 09:59:15 +01:00
x509_ext.c
x509_local.h
x509_lu.c Copyright year updates 2023-09-07 09:59:15 +01:00
x509_meth.c
x509_obj.c
x509_r2x.c
x509_req.c
x509_set.c Copyright year updates 2023-09-07 09:59:15 +01:00
x509_trust.c Remove repeated words 2023-09-11 10:15:30 +02:00
x509_txt.c
x509_v3.c
x509_vfy.c Add X509_STORE_CTX_set_get_crl and X509_STORE_CTX_set_current_reasons 2023-08-17 21:34:12 +02:00
x509_vpm.c Copyright year updates 2023-09-07 09:59:15 +01:00
x509cset.c Copyright year updates 2023-09-07 09:59:15 +01:00
x509name.c
x509rset.c
x509spki.c
x509type.c
x_all.c Copyright year updates 2023-09-07 09:59:15 +01:00
x_attrib.c
x_crl.c
x_exten.c
x_name.c
x_pubkey.c Copyright year updates 2023-09-07 09:59:15 +01:00
x_req.c
x_x509.c
x_x509a.c