]> git.ipfire.org Git - thirdparty/openssl.git/commit
When calling ASN1_item_i2d () check both returned length and allocated pointer
authorXZ-X <xu1415@purdue.edu>
Mon, 22 Jul 2024 18:33:02 +0000 (14:33 -0400)
committerTomas Mraz <tomas@openssl.org>
Tue, 20 Aug 2024 09:45:14 +0000 (11:45 +0200)
commit391334dd8ca7374c17e0a616ff539c84ec99eddb
treea98a59f869290d6fec6192087a91ef1c6611e230
parentdc6993a625c3050125d8b69bcca05ef37555ebb3
When calling ASN1_item_i2d () check both returned length and allocated pointer

Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24979)
crypto/asn1/a_dup.c
crypto/asn1/a_i2d_fp.c
crypto/cms/cms_sd.c
crypto/pkcs7/pk7_attr.c
crypto/pkcs7/pk7_doit.c