openssl/crypto/ts
bonniegong effb0dcf86 Check the return value of ASN1_STRING_length
ASN1_STRING_length gets the field 'length' of msg, which
can be manipulated through a crafted input.
Add a check to avoid error execution of OPENSSL_malloc().

CLA: trivial

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15583)
2021-06-03 17:09:02 +02:00
..
build.info unified build scheme: add build.info files 2016-02-01 12:46:58 +01:00
ts_asn1.c Update copyright year 2020-11-26 14:18:57 +00:00
ts_conf.c CRYPTO: refactor ERR_raise()+ERR_add_error_data() to ERR_raise_data() 2020-11-13 09:35:31 +01:00
ts_err.c err: rename err_load_xxx_strings_int functions 2021-05-26 13:01:47 +10:00
ts_lib.c Reorganize local header files 2019-09-28 20:26:35 +02:00
ts_local.h Update copyright year 2021-04-08 13:04:41 +01:00
ts_req_print.c Reorganize local header files 2019-09-28 20:26:35 +02:00
ts_req_utils.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
ts_rsp_print.c Fix safestack issues in conf.h 2020-09-13 11:11:20 +01:00
ts_rsp_sign.c Rename all getters to use get/get0 in name 2021-06-01 12:40:00 +02:00
ts_rsp_utils.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
ts_rsp_verify.c Rename all getters to use get/get0 in name 2021-06-01 12:40:00 +02:00
ts_verify_ctx.c Check the return value of ASN1_STRING_length 2021-06-03 17:09:02 +02:00