summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorZhou Qingyang <zhou1615@umn.edu>2022-04-07 00:48:09 +0800
committerTomas Mraz <tomas@openssl.org>2022-04-21 08:34:34 +0200
commitea5ef33be1bd4fbd89143932a4d12a72003913a5 (patch)
tree174496df3fabe00c3cdd5963d8c02c9a95c6bfde /test
parentcaf7a9cbcc7462314427c5594c0a50d457bdf3a5 (diff)
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@oracle.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/18057) (cherry picked from commit 3f075967f664aac12951a1d7aa3124d9235cd299)
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions