diff options
author | Neil Horman <nhorman@openssl.org> | 2023-12-16 15:32:48 -0500 |
---|---|---|
committer | Neil Horman <nhorman@openssl.org> | 2024-02-16 08:34:11 -0500 |
commit | cf57c3ecfa416afbc47d36633981034809ee6792 (patch) | |
tree | 12943c9c6c0f9a783d2351aaa962f084e66778b4 /ssl | |
parent | d597b46f9bdb533761e36fcf1d96ce83f3f6f04d (diff) |
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)
Diffstat (limited to 'ssl')
0 files changed, 0 insertions, 0 deletions