openssl/crypto/asn1
Richard Levitte ca89174bc9 ASN.1 DER: Make INT32 / INT64 types read badly encoded LONG zeroes
The deprecated ASN.1 type LONG / ZLONG (incorrectly) produced zero
length INTEGER encoding for zeroes.  For the sake of backward
compatibility, we allow those to be read without fault when using the
replacement types INT32 / UINT32 / INT64 / UINT64.

Fixes #7134

Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7144)
2018-09-09 03:39:37 +02:00
..
a_bitstr.c
a_d2i_fp.c
a_digest.c
a_dup.c
a_gentm.c
a_i2d_fp.c
a_int.c
a_mbstr.c
a_object.c i2d_ASN1_OBJECT(): allocate memory if the user didn't provide a buffer 2018-08-11 12:27:02 +02:00
a_octet.c
a_print.c
a_sign.c
a_strex.c Limit scope of CN name constraints 2018-05-23 11:12:13 -04:00
a_strnid.c Update copyright year 2018-04-17 15:18:40 +02:00
a_time.c
a_type.c
a_utctm.c
a_utf8.c
a_verify.c
ameth_lib.c Make EVP_PKEY_asn1_new() stricter with its input 2018-08-07 07:53:08 +02:00
asn1_err.c i2d_ASN1_OBJECT(): allocate memory if the user didn't provide a buffer 2018-08-11 12:27:02 +02:00
asn1_gen.c
asn1_item_list.c
asn1_item_list.h
asn1_lib.c
asn1_locl.h
asn1_par.c
asn_mime.c Harmonize use of sk_TYPE_find's return value. 2018-08-07 08:56:54 +02:00
asn_moid.c asn1/asn_moid.c: overhaul do_create. 2018-08-22 21:35:27 +02:00
asn_mstbl.c
asn_pack.c
bio_asn1.c Update copyright year 2018-04-17 15:18:40 +02:00
bio_ndef.c Update copyright year 2018-04-17 15:18:40 +02:00
build.info
charmap.h
charmap.pl
d2i_pr.c
d2i_pu.c
evp_asn1.c
f_int.c
f_string.c
i2d_pr.c
i2d_pu.c
n_pkey.c
nsseq.c
p5_pbe.c
p5_pbev2.c Update copyright year 2018-06-20 15:29:23 +01:00
p5_scrypt.c add 'unsupported cipher mode' diagnostics to evp_lib.c and genpkey.c 2018-06-18 10:45:35 +01:00
p8_pkey.c
standard_methods.h Move SM2 algos to SM2 specific PKEY method 2018-06-19 11:29:44 +01:00
t_bitst.c
t_pkey.c
t_spki.c
tasn_dec.c Update copyright year 2018-04-03 13:57:12 +01:00
tasn_enc.c Set error code on alloc failures 2018-04-03 11:31:16 -04:00
tasn_fre.c
tasn_new.c Update copyright year 2018-04-17 15:18:40 +02:00
tasn_prn.c
tasn_scn.c
tasn_typ.c
tasn_utl.c asn1/tasn_utl.c: fix logical error in and overhaul asn1_do_lock. 2018-08-01 16:07:24 +02:00
tbl_standard.h
x_algor.c
x_bignum.c
x_info.c
x_int64.c ASN.1 DER: Make INT32 / INT64 types read badly encoded LONG zeroes 2018-09-09 03:39:37 +02:00
x_long.c
x_pkey.c
x_sig.c
x_spki.c
x_val.c