]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix NETSCAPE_SPKI_print function to not assume NUL terminated strings
authorMatt Caswell <matt@openssl.org>
Thu, 19 Aug 2021 11:23:38 +0000 (12:23 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 24 Aug 2021 12:18:55 +0000 (13:18 +0100)
commit2d0e5d4a4a5d4332325b5e5cea492fad2be633e1
treeb9424218223531466394da31d35fae808ec40fa3
parentbb4d2ed4091408404e18b3326e3df67848ef63d0
Fix NETSCAPE_SPKI_print function to not assume NUL terminated strings

ASN.1 strings may not be NUL terminated. Don't assume they are.

CVE-2021-3712

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
crypto/asn1/t_spki.c