Catch integer overflow rather than silently truncating while
authorschwarze <schwarze@openbsd.org>
Mon, 13 Dec 2021 14:06:17 +0000 (14:06 +0000)
committerschwarze <schwarze@openbsd.org>
Mon, 13 Dec 2021 14:06:17 +0000 (14:06 +0000)
commit141e8b05ed081bb7866870073ba0fb7f6bad3092
treef99a4b3767398fe04e5a2f86c235769ab536aab0
parent9f9a31e0581656c5141187e579c27be5e04cf08d
Catch integer overflow rather than silently truncating while
parsing MASK: strings in ASN1_STRING_set_default_mask_asc(3).
Issue noticed by tb@, patch by me, two additional #include lines from tb@.
OK tb@.
lib/libcrypto/asn1/a_strnid.c