Skip to content
Commit 327de270 authored by Matt Caswell's avatar Matt Caswell
Browse files

SSL_check_chain fix



If SSL_check_chain is called with a NULL X509 object or a NULL EVP_PKEY
or the type of the public key is unrecognised then the local variable
|cpk| in tls1_check_chain does not get initialised. Subsequently an
attempt is made to deref it (after the "end" label), and a seg fault will
result.

Reviewed-by: default avatarDr. Stephen Henson <steve@openssl.org>
(cherry picked from commit d813f9eb)
parent 8e91b3d9
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