]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix POLICYINFO printing to not assume NUL terminated strings
authorMatt Caswell <matt@openssl.org>
Wed, 18 Aug 2021 11:31:38 +0000 (12:31 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 24 Aug 2021 13:22:06 +0000 (14:22 +0100)
commit1747d4658b3830951068a6a6c1fa2b45c4731fb3
tree0cf095d9c5740cfd86cadb899954e20ba8011e60
parentad6ac17489241574136b7d035f01f6175dd9c941
Fix POLICYINFO printing 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>
Reviewed-by: David Benjamin <davidben@google.com>
crypto/x509/v3_cpols.c