]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix crash in X509_STORE_CTX_get_by_subject
authorMatt Caswell <matt@openssl.org>
Mon, 8 Apr 2019 10:22:37 +0000 (11:22 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 9 Apr 2019 09:26:44 +0000 (10:26 +0100)
commitb926f9deb3dc79d00f0a989370e95867516a3a17
treee81cf9244282cc72b645fba6b62cbba5852d6ad9
parentd030892312a2e7076511205e7fe1a5eae98e5102
Fix crash in X509_STORE_CTX_get_by_subject

If using a custom X509_LOOKUP_METHOD then calls to
X509_STORE_CTX_get_by_subject may crash due to an incorrectly initialised
X509_OBJECT being passed to the callback get_by_subject function.

Fixes #8673

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/8698)
crypto/x509/x509_lu.c