Daniel Gustafsson 5efc57caf2 Fix memleak in rsa_cms_sign error path
If the call to X509_ALGOR_set0 fails then the allocated ASN1_STRING
variable passed as parameter leaks.  Fix by explicitly freeing like
how all other codepaths with X509_ALGOR_set0 do.

Fixes #22680

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24868)
2024-09-05 17:04:59 +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
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
2024-04-09 13:43:26 +02:00
2023-09-07 09:59:15 +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
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
2024-09-05 09:35:49 +02: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
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