]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix append_ia5 function to not assume NUL terminated strings
authorMatt Caswell <matt@openssl.org>
Wed, 18 Aug 2021 16:58:23 +0000 (17:58 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 24 Aug 2021 12:18:50 +0000 (13:18 +0100)
commitbb4d2ed4091408404e18b3326e3df67848ef63d0
tree4ccdafdca87eb3d2da2a540335bf8ecdbf98a50b
parent4de66925203ca99189c842136ec4a623137ea447
Fix append_ia5 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/x509v3/v3_utl.c