openssl/crypto/encode_decode
Neil Horman cf57c3ecfa Check for NULL cleanup function before using it in encoder_process
encoder_process assumes a cleanup function has been set in the currently
in-use encoder during processing, which can lead to segfaults if said
function hasn't been set

Add a NULL check for this condition, returning -1 if it is not set

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23069)
2024-02-16 08:34:11 -05:00
..
build.info
decoder_err.c
decoder_lib.c
decoder_meth.c
decoder_pkey.c ossl_decoder_cache_flush(): Do not raise an error if there is no cache 2023-12-06 13:59:13 +01:00
encoder_err.c
encoder_lib.c Check for NULL cleanup function before using it in encoder_process 2024-02-16 08:34:11 -05:00
encoder_local.h
encoder_meth.c
encoder_pkey.c