Don't print excessively long ASN1 items in fuzzer
authorMatt Caswell <matt@openssl.org>
Tue, 20 Feb 2024 15:11:26 +0000 (15:11 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 21 Feb 2024 16:48:14 +0000 (16:48 +0000)
commitc8dd22a2b654bbc16c18da031921511ec7ba1db0
treee85dc4684c3f7dd6619b412ea450606e796a3922
parenta4829e5338600f40fd2927ee6fd05c4cf6d5665c
Don't print excessively long ASN1 items in fuzzer

Prevent spurious fuzzer timeouts by not printing ASN1 which is excessively
long.

This fixes a false positive encountered by OSS-Fuzz.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
(Merged from https://github.com/openssl/openssl/pull/23640)

(cherry picked from commit 4a6f70c03182b421d326831532edca32bcdb3fb1)
fuzz/asn1.c