openssl/crypto/asn1
Alon Bar-Lev 67c0460b89 Handle SMIME_crlf_copy return code
Currently the SMIME_crlf_copy result is ignored in all usages. It does
return failure when memory allocation fails.

This patch handles the SMIME_crlf_copy return code in all occurrences.

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18876)
2022-07-28 10:05:59 +01:00
..
a_bitstr.c libcrypto refactoring: introduce and use ossl_asn1_string_set_bits_left() 2022-07-19 08:44:19 +02:00
a_d2i_fp.c Teach more of the ASN.1 code about libctx/propq 2021-06-05 17:39:10 +10:00
a_digest.c Rename all getters to use get/get0 in name 2021-06-01 12:40:00 +02:00
a_dup.c Give ASN.1 objects the ability to report their libctx/propq 2021-06-05 17:39:27 +10:00
a_gentm.c Update copyright year 2021-04-08 13:04:41 +01:00
a_i2d_fp.c Update copyright year 2021-05-20 14:22:33 +01:00
a_int.c libcrypto refactoring: make more use of ASN1_STRING_set0() 2022-07-19 08:44:19 +02:00
a_mbstr.c libcrypto refactoring: make more use of ASN1_STRING_set0() 2022-07-19 08:44:19 +02:00
a_object.c ASN1: Ensure that d2i_ASN1_OBJECT() frees the strings on ASN1_OBJECT reuse 2021-04-27 12:43:52 +02:00
a_octet.c Following the license change, modify the boilerplates in crypto/asn1/ 2018-12-06 14:24:40 +01:00
a_print.c Update copyright year 2021-09-07 13:35:43 +02:00
a_sign.c libcrypto refactoring: introduce and use ossl_asn1_string_set_bits_left() 2022-07-19 08:44:19 +02:00
a_strex.c check i2d_ASN1_TYPE return value 2021-05-14 10:13:53 +10:00
a_strnid.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
a_time.c libcrypto and test: rename asn1_string_to_time_t to ossl_asn1_string_to_time_t 2022-07-19 08:44:19 +02:00
a_type.c Update copyright year 2021-04-08 13:04:41 +01:00
a_utctm.c Update copyright year 2021-04-08 13:04:41 +01:00
a_utf8.c ASN1: limit the Unicode code point range in UTF8_getc() and UTF8_putc() 2021-03-18 14:12:48 +10:00
a_verify.c Update copyright year 2021-06-17 13:24:59 +01:00
ameth_lib.c Update copyright year 2022-05-03 13:34:51 +01:00
asn1_err.c err: rename err_load_xxx_strings_int functions 2021-05-26 13:01:47 +10:00
asn1_gen.c libcrypto refactoring: introduce and use ossl_asn1_string_set_bits_left() 2022-07-19 08:44:19 +02:00
asn1_item_list.c Update copyright year 2020-11-26 14:18:57 +00:00
asn1_item_list.h CMS: Export CMS_EnvelopedData and add CMS_EnvelopedData_decrypt() 2022-06-28 17:51:21 +02:00
asn1_lib.c libcrypto refactoring: introduce and use ossl_asn1_string_set_bits_left() 2022-07-19 08:44:19 +02:00
asn1_local.h libcrypto refactoring: introduce and use ossl_asn1_string_set_bits_left() 2022-07-19 08:44:19 +02:00
asn1_parse.c asn1: properly clean up on failed BIO creation 2021-06-22 12:43:21 +10:00
asn_mime.c Handle SMIME_crlf_copy return code 2022-07-28 10:05:59 +01:00
asn_moid.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
asn_mstbl.c CRYPTO: refactor ERR_raise()+ERR_add_error_data() to ERR_raise_data() 2020-11-13 09:35:31 +01:00
asn_pack.c libcrypto refactoring: make more use of ASN1_STRING_set0() 2022-07-19 08:44:19 +02:00
bio_asn1.c Fix memory leak in i2d_ASN1_bio_stream 2021-07-02 16:17:11 +02:00
bio_ndef.c Fix memory leak in i2d_ASN1_bio_stream 2021-07-02 16:17:11 +02:00
build.info ASN1: rename asn1_par.c to asn1_parse.c for clarity; simplify asn1_parse2() 2021-06-15 14:23:21 +02:00
charmap.h Fix copyright year issues 2022-01-06 09:27:02 +01:00
charmap.pl Add a local perl module to get year last changed 2021-03-31 13:59:53 +02:00
d2i_param.c Update copyright year 2021-06-17 13:24:59 +01:00
d2i_pr.c Decoding PKCS#8: separate decoding of encrypted and unencrypted PKCS#8 2021-06-09 17:00:10 +02:00
d2i_pu.c Update copyright year 2022-05-03 13:34:51 +01:00
evp_asn1.c Avoid invoking memcpy if size is zero or the supplied buffer is NULL 2021-08-25 17:02:37 +02:00
f_int.c Update copyright year 2020-11-26 14:18:57 +00:00
f_string.c Update copyright year 2020-11-26 14:18:57 +00:00
i2d_evp.c Update copyright year 2022-05-03 13:34:51 +01:00
n_pkey.c Update copyright year 2021-06-17 13:24:59 +01:00
nsseq.c Following the license change, modify the boilerplates in crypto/asn1/ 2018-12-06 14:24:40 +01:00
p5_pbe.c add zero strenght arguments to BN and RAND RNG calls 2021-05-29 17:17:12 +10:00
p5_pbev2.c Update copyright year 2022-05-03 13:34:51 +01:00
p5_scrypt.c Rename all getters to use get/get0 in name 2021-06-01 12:40:00 +02:00
p8_pkey.c Update copyright year 2020-04-23 13:55:52 +01:00
standard_methods.h Update copyright year 2021-04-08 13:04:41 +01:00
t_bitst.c Following the license change, modify the boilerplates in crypto/asn1/ 2018-12-06 14:24:40 +01:00
t_pkey.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
t_spki.c Update copyright year 2021-09-07 13:35:43 +02:00
tasn_dec.c libcrypto refactoring: make more use of ASN1_STRING_set0() 2022-07-19 08:44:19 +02:00
tasn_enc.c asn.1: fix Coverity 1487104 Logically dead code 2021-07-13 09:24:04 +10:00
tasn_fre.c Update copyright year 2021-04-08 13:04:41 +01:00
tasn_new.c Teach more of the ASN.1 code about libctx/propq 2021-06-05 17:39:10 +10:00
tasn_prn.c Update copyright year 2021-04-08 13:04:41 +01:00
tasn_scn.c Update copyright year 2020-11-26 14:18:57 +00:00
tasn_typ.c constify *_dup() and *i2d_*() and related functions as far as possible, introducing DECLARE_ASN1_DUP_FUNCTION 2019-03-06 16:10:09 +00:00
tasn_utl.c Rework and make DEBUG macros consistent. 2021-05-28 10:04:31 +02:00
tbl_standard.h Update copyright year 2020-10-15 14:10:06 +01:00
x_algor.c Update copyright year 2022-05-03 13:34:51 +01:00
x_bignum.c Explicitly test against NULL; do not use !p or similar 2019-10-09 21:32:15 +02:00
x_info.c Update copyright year 2020-11-26 14:18:57 +00:00
x_int64.c Update copyright year 2021-04-08 13:04:41 +01:00
x_long.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
x_pkey.c Update copyright year 2020-11-26 14:18:57 +00:00
x_sig.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
x_spki.c Following the license change, modify the boilerplates in crypto/asn1/ 2018-12-06 14:24:40 +01:00
x_val.c Following the license change, modify the boilerplates in crypto/asn1/ 2018-12-06 14:24:40 +01:00