mirror of
https://github.com/openssl/openssl.git
synced 2026-06-06 20:18:09 +00:00
BIO_CTRL_RESET zeroed compress.bufsize and did not reinitialize the ZSTD streams or buffer positions. After a reset, the next write could try to use a 0 byte buffer and stall or behave unpredictably. Signed-off-by: Joshua Rogers <MegaManSec@users.noreply.github.com> Reviewed-by: Saša Nedvědický <sashan@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/28844)