]> git.ipfire.org Git - thirdparty/openssl.git/commit
Check whether ctx->pctx != NULL
authorotherddn1978 <other_ddn@mail.ru>
Fri, 13 Dec 2024 15:00:09 +0000 (18:00 +0300)
committerTomas Mraz <tomas@openssl.org>
Tue, 17 Dec 2024 13:53:14 +0000 (14:53 +0100)
commit82e7a1130a7d10f4e15c19676a680990b5e3f8fe
treef90b41425627ed5720cd8326b897427c0e75bb8f
parentc44066bb4cfee9e21ee6406112daebac03775067
Check whether ctx->pctx != NULL

If it is NULL, ctx->pctx->pmeth dereference will cause a crash.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26176)
crypto/evp/m_sigver.c