openssl/crypto/encode_decode
Matt Caswell e16c010308 Fix a leak in an error path when duplicating an OSSL_DECODER_CTX.
Make sure we free process_data_dest if it is not actually used.

Found by the reproducible error patch in #21668

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21741)
2023-08-17 08:06:43 +01:00
..
build.info CORE: Generalise internal pass phrase prompter 2020-08-24 10:02:25 +02:00
decoder_err.c err: rename err_load_xxx_strings_int functions 2021-05-26 13:01:47 +10:00
decoder_lib.c Always add a suitable error if we fail to decode 2023-08-01 20:08:28 +02:00
decoder_meth.c encoder: update to structure based atomics 2023-07-01 21:18:25 +10:00
decoder_pkey.c Fix a leak in an error path when duplicating an OSSL_DECODER_CTX. 2023-08-17 08:06:43 +01:00
encoder_err.c Update copyright year 2021-06-17 13:24:59 +01:00
encoder_lib.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
encoder_local.h encoder: update to structure based atomics 2023-07-01 21:18:25 +10:00
encoder_meth.c encoder: update to structure based atomics 2023-07-01 21:18:25 +10:00
encoder_pkey.c Coverity 1515953: negative loop bound 2022-10-14 12:53:02 +11:00