Add more negative checks for integers passed to OPENSSL_malloc().
authorShane Lontis <shane.lontis@oracle.com>
Mon, 12 Apr 2021 03:58:14 +0000 (13:58 +1000)
committerShane Lontis <shane.lontis@oracle.com>
Fri, 16 Apr 2021 02:10:08 +0000 (12:10 +1000)
commit42e7d2f10e3658c0c248df8a6edf3c48c477e4b0
tree1122340c23e67327e2673fd516c5be2dc666e228
parent34ed73339602c361d09fe4233d65cef996356239
Add more negative checks for integers passed to OPENSSL_malloc().

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14830)
18 files changed:
apps/lib/app_x509.c
crypto/asn1/a_dup.c
crypto/asn1/a_int.c
crypto/asn1/a_mbstr.c
crypto/asn1/bio_asn1.c
crypto/asn1/p5_pbe.c
crypto/asn1/p5_pbev2.c
crypto/asn1/tasn_utl.c
crypto/bio/bf_buff.c
crypto/bio/bf_lbuf.c
crypto/bio/bss_log.c
crypto/ess/ess_lib.c
crypto/pkcs12/p12_mutl.c
crypto/pkcs12/p12_utl.c
crypto/x509/t_x509.c
crypto/x509/v3_conf.c
crypto/x509/v3_ia5.c
crypto/x509/x509spki.c