openssl/providers/implementations
Huiyue Xu e7d34d7ae3 Fix a possible memory leak in SM2 provider
ctx->propq that strdup from input parameter propq in sm2sig_newctx,
is not released. It should be released in sm2sig_freectx and copied
to dstctx in sm2sig_dupctx. And dstctx->id and dstctx->propq should
be set NULL to avoid releasing id/propq of srcctx when err occurs.

Signed-off-by: Huiyue Xu <xuhuiyue@huawei.com>

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Yang <kaishen.yy@antfin.com>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22796)
2023-11-23 15:08:21 +00:00
..
asymciphers Copyright year updates 2023-09-07 09:59:15 +01:00
ciphers update/final: Return error if key is not set 2023-11-03 13:36:13 +01:00
digests Fix BLAKE2s reporting the same EVP_MD_get_size() as BLAKE2b (64) 2023-11-15 08:41:06 +01:00
encode_decode Restore the meaning of EVP_PKEY_print_private() 2023-10-04 08:10:55 +02:00
exchange Copyright year updates 2023-09-07 09:59:15 +01:00
include/prov Implement BLAKE2s with the same macro as BLAKE2b 2023-11-08 09:42:13 +01:00
kdfs Accept longer context for TLS 1.2 exporters 2023-10-26 15:47:15 +01:00
kem Copyright year updates 2023-09-07 09:59:15 +01:00
keymgmt DH_check_pub_key() should not fail when setting result code 2023-10-11 16:22:27 +02:00
macs Avoid divide-by-zero in kmac_prov.c's bytepad() 2023-10-09 12:02:59 +02:00
rands rand: fix seeding from a weak entropy source 2023-10-24 11:14:11 +01:00
signature Fix a possible memory leak in SM2 provider 2023-11-23 15:08:21 +00:00
storemgmt Copyright year updates 2023-09-07 09:59:15 +01:00
build.info