]> git.ipfire.org Git - thirdparty/openssl.git/commit
fuzz/asn1.c: Add check for ASN1_item_i2d
authorJiasheng Jiang <jiasheng@iscas.ac.cn>
Fri, 24 Jun 2022 07:35:05 +0000 (15:35 +0800)
committerTomas Mraz <tomas@openssl.org>
Tue, 28 Jun 2022 15:10:11 +0000 (17:10 +0200)
commit1cb35ce06a968dc82e7cd9502ecce8e89eca9580
treea91e0e2ae27758d73be412bebc77097f90562a6d
parent28adea95975c3ea53fc590efda35dee13efd4767
fuzz/asn1.c: Add check for ASN1_item_i2d

As the potential failure of the ASN1_item_i2d,
it should be better to check the return value.

Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18647)
fuzz/asn1.c