]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix a segfault in the pkeyutl command line app
authorMatt Caswell <matt@openssl.org>
Tue, 1 Apr 2025 09:31:33 +0000 (10:31 +0100)
committerTomas Mraz <tomas@openssl.org>
Wed, 2 Apr 2025 15:28:46 +0000 (17:28 +0200)
commitd11ba5d7805c4a47015e83f6ae14eb1fd61495fd
tree891d560cc8056c87176c79a8846cf77e1c5a0dfb
parente2f6484939f0075919c393d0c3c3c26d7505dab1
Fix a segfault in the pkeyutl command line app

Don't attempt to deref a pkey that is NULL

Fixes #27156

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27228)

(cherry picked from commit 3f0f723b521b5138f9ac77ede45a77dc46a734d4)
apps/pkeyutl.c