]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix the name constraints code to not assume NUL terminated strings
authorMatt Caswell <matt@openssl.org>
Wed, 18 Aug 2021 16:08:58 +0000 (17:08 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 24 Aug 2021 12:18:41 +0000 (13:18 +0100)
commit8393de42498f8be75cf0353f5c9f906a43a748d2
tree8846c8b45dc44cd266b327a959720f2ea5c739cc
parent23446958685a593d4d9434475734b99138902ed2
Fix the name constraints code 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_ncons.c