]> git.ipfire.org Git - thirdparty/openssl.git/commit
eddsa_signverify_init(): Avoid memory leak on error
authorTomas Mraz <tomas@openssl.org>
Tue, 21 Jan 2025 13:42:28 +0000 (14:42 +0100)
committerTomas Mraz <tomas@openssl.org>
Thu, 23 Jan 2025 11:12:20 +0000 (12:12 +0100)
commit454bd65461d9405c3cb6cd5d92cccb00b5d5e411
tree3fea75febd1c529e3aa3d292e75144360e94579b
parentf71858d4a4687875da030b5e1a9e58fd0cb246be
eddsa_signverify_init(): Avoid memory leak on error

Add missing WPACKET_cleanup() call.
Fixes Coverity 1638693

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/26500)

(cherry picked from commit abbc4073145cb6b2ea221f3e34809e9aefece9ab)
providers/implementations/signature/eddsa_sig.c