Skip to content
Commit b583c1bd authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Fix name length limit check.



The name length limit check in x509_name_ex_d2i() includes
the containing structure as well as the actual X509_NAME. This will
cause large CRLs to be rejected.

Fix by limiting the length passed to ASN1_item_ex_d2i() which will
then return an error if the passed X509_NAME exceeds the length.

RT#4531

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
(cherry picked from commit 4e0d184a)
parent 28dab7cf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment