[openssl/openssl] 3f0759: Fix a possible NULL pointer dereference in create_...
Tomas Mraz
noreply at reply.github.openssl.org
Thu Apr 21 06:34:31 UTC 2022
Branch: refs/heads/master
Home: https://github.openssl.org/openssl/openssl
Commit: 3f075967f664aac12951a1d7aa3124d9235cd299
https://github.openssl.org/openssl/openssl/commit/3f075967f664aac12951a1d7aa3124d9235cd299
Author: Zhou Qingyang <zhou1615 at umn.edu>
Date: 2022-04-21 (Thu, 21 Apr 2022)
Changed paths:
M apps/ts.c
Log Message:
-----------
Fix a possible NULL pointer dereference in create_cert_store()
In create_cert_store(), X509_STORE_new() is called and there is a
dereference of it in following function X509_STORE_add_lookup()
without check, which could lead to NULL pointer dereference.
Fix this by adding a NULL check of X509_STORE_new()
Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18057)
More information about the openssl-commits
mailing list