Jiasheng Jiang f60b3c5fdc crypto/pkcs12/p12_mutl.c: Add check and EVP_MD_free() for EVP_MD_fetch()
Add check and EVP_MD_free() for EVP_MD_fetch() to avoid NULL pointer
dereference and memory leak, like "md_fetch".

Fixes: fe79159be0 ("Implementation of the RFC 9579, PBMAC1 in PKCS#12")
Signed-off-by: Jiasheng Jiang <jiashengjiangcool@outlook.com>

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/25370)
2024-09-05 17:30:28 +02:00
..
2024-09-05 09:35:49 +02:00
2024-09-05 09:35:49 +02:00
2024-09-05 09:35:49 +02:00
2024-09-05 09:35:49 +02:00
2024-09-05 09:35:49 +02:00
2023-09-07 09:59:15 +01:00
2024-09-05 09:35:49 +02:00
2024-07-31 09:04:17 +10:00
2024-09-05 09:35:49 +02:00
2023-09-07 09:59:15 +01:00
2024-09-05 09:35:49 +02:00
2024-09-05 09:35:49 +02:00
2024-09-05 09:35:49 +02:00
2024-04-09 13:43:26 +02:00
2024-09-05 09:35:49 +02:00
2024-04-09 13:43:26 +02:00
2024-09-05 09:35:49 +02:00
2024-04-09 13:43:26 +02:00
2024-09-05 09:35:49 +02:00
2024-09-05 09:35:49 +02:00
2024-09-05 09:35:49 +02:00
2024-09-05 09:35:49 +02:00
2024-04-09 13:43:26 +02:00
2024-09-05 09:35:49 +02:00
2024-04-09 13:43:26 +02:00
2024-09-05 09:35:49 +02:00
2024-09-05 09:35:49 +02:00
2024-09-05 09:35:49 +02:00
2024-09-05 09:35:49 +02:00
2024-09-05 09:35:49 +02:00
2024-09-05 09:35:49 +02:00
2024-09-05 09:35:49 +02:00
2024-09-05 09:35:49 +02:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2024-09-05 09:35:49 +02:00
2024-09-05 09:35:49 +02:00
2024-09-05 09:35:49 +02:00
2024-09-05 09:35:49 +02:00
2024-09-05 09:35:49 +02:00
2023-09-28 14:23:29 +01:00
2024-04-09 13:43:26 +02:00
2024-09-05 09:35:49 +02:00
2023-09-07 09:59:15 +01:00
2024-09-05 09:35:49 +02:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2024-09-05 09:35:49 +02:00
2024-09-05 09:35:49 +02:00
2022-05-03 13:34:51 +01:00
2024-04-09 13:43:26 +02:00
2023-09-07 09:59:15 +01:00
2021-04-08 13:04:41 +01:00
2024-07-11 08:29:43 +10:00
2024-07-11 08:29:43 +10:00
2024-09-05 09:35:49 +02:00
2023-09-28 14:23:29 +01:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2024-09-05 09:35:49 +02:00
2024-08-07 19:09:43 +02:00
2024-09-05 09:35:49 +02:00
2022-05-03 13:34:51 +01:00
2022-05-03 13:34:51 +01:00
2024-07-11 08:29:43 +10:00
2024-09-05 09:35:49 +02:00
2024-04-09 13:43:26 +02:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2024-09-05 09:35:49 +02:00
2024-09-05 09:35:49 +02:00
2022-05-03 13:34:51 +01:00
2024-09-05 09:35:49 +02:00
2022-05-03 13:34:51 +01:00
2023-09-07 09:59:15 +01:00
2023-12-29 10:21:10 +01:00
2024-04-09 13:43:26 +02:00
2024-05-30 18:38:12 +02:00
2024-09-05 09:35:49 +02:00
2022-05-03 13:34:51 +01:00
2023-09-07 09:59:15 +01:00
2024-07-11 08:29:43 +10:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2024-04-09 13:43:26 +02:00
2024-09-05 09:35:49 +02:00
2024-09-05 09:35:49 +02:00
2023-09-07 09:59:15 +01:00
2024-09-05 09:35:49 +02:00
2024-09-05 09:35:49 +02:00
2024-09-05 09:35:49 +02:00
2023-09-11 10:15:30 +02:00
2023-09-07 09:59:15 +01:00
2021-04-08 13:04:41 +01:00