]> git.ipfire.org Git - thirdparty/openssl.git/commit
LMS Coverity fix 1659009
authorslontis <shane.lontis@oracle.com>
Mon, 14 Jul 2025 01:01:41 +0000 (11:01 +1000)
committerNeil Horman <nhorman@openssl.org>
Tue, 15 Jul 2025 11:53:24 +0000 (07:53 -0400)
commit43f4da917ac15fb9685e969634534f3cd1eb9901
tree600f5a83d515c2e7e6a12c5cbe6a4bd06873996e
parent215167fe7e42e0dca7ae5754a5600ecbcf0940ea
LMS Coverity fix 1659009

Fix deref after free.

If ctx->key is already set and the passed in key is NULL then ctx->key
should not be set to NULL.

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28030)
providers/implementations/signature/lms_signature.c