openssl/crypto/x509v3
Pavel Kopyl abcf241114 X509V3_EXT_add_nconf_sk, X509v3_add_ext: fix errors handling
X509v3_add_ext: free 'sk' if the memory pointed to by it
was malloc-ed inside this function.
X509V3_EXT_add_nconf_sk: return an error if X509v3_add_ext() fails.
This prevents use of a freed memory in do_body:sk_X509_EXTENSION_num().

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4698)
2018-02-21 12:18:48 +00:00
..
build.info Declare a new x509v3 extension: x509ExtAdmission 2017-06-20 09:25:30 -04:00
ext_dat.h Declare a new x509v3 extension: x509ExtAdmission 2017-06-20 09:25:30 -04:00
pcy_cache.c
pcy_data.c CLA: trivial 2017-05-31 08:56:03 -04:00
pcy_int.h
pcy_lib.c
pcy_map.c
pcy_node.c
pcy_tree.c Avoid possible memleak in X509_policy_check() 2017-07-05 11:14:07 +02:00
standard_exts.h Declare a new x509v3 extension: x509ExtAdmission 2017-06-20 09:25:30 -04:00
v3_addr.c Avoid out-of-bounds read 2017-08-28 13:26:26 -04:00
v3_admis.c Update copyright year 2018-02-13 13:59:25 +00:00
v3_admis.h Update copyright year 2018-02-13 13:59:25 +00:00
v3_akey.c
v3_akeya.c
v3_alt.c remove magic number 2017-11-13 07:52:35 -05:00
v3_asid.c Make sure we check the return value of extract_min_max() 2018-02-14 15:32:06 +00:00
v3_bcons.c
v3_bitst.c
v3_conf.c X509V3_EXT_add_nconf_sk, X509v3_add_ext: fix errors handling 2018-02-21 12:18:48 +00:00
v3_cpols.c Simplify the stack reservation 2017-10-26 14:34:35 -04:00
v3_crld.c Simplify the stack reservation 2017-10-26 14:34:35 -04:00
v3_enum.c
v3_extku.c Simplify the stack reservation 2017-10-26 14:34:35 -04:00
v3_genn.c Fix memory leak in GENERAL_NAME_set0_othername. 2017-10-23 17:46:02 +02:00
v3_ia5.c
v3_info.c Consistent formatting for sizeof(foo) 2017-12-07 19:11:49 -05:00
v3_int.c
v3_lib.c Fix possible leaks on sk_X509_EXTENSION_push() failure ... 2017-11-10 09:45:17 +01:00
v3_ncons.c Don't use strcasecmp and strncasecmp for IA5 strings 2017-10-26 14:43:57 +01:00
v3_pci.c Standardize Levitte's dual-license 2017-06-15 14:16:16 -04:00
v3_pcia.c Standardize Levitte's dual-license 2017-06-15 14:16:16 -04:00
v3_pcons.c
v3_pku.c Remove some commented out code in libcrypto 2017-02-28 16:02:11 +00:00
v3_pmaps.c Simplify the stack reservation 2017-10-26 14:34:35 -04:00
v3_prn.c
v3_purp.c Add X509_get0_authority_key_id() function 2018-02-19 15:47:02 -05:00
v3_skey.c
v3_sxnet.c
v3_tlsf.c Move e_os.h to be the very first include. 2017-08-30 07:20:44 +10:00
v3_utl.c Pretty-print large INTEGERs and ENUMERATEDs in hex. 2017-11-25 09:23:34 -05:00
v3err.c Pretty-print large INTEGERs and ENUMERATEDs in hex. 2017-11-25 09:23:34 -05:00