Files
node/doc/api
Xia Chao 402889cfb8 zlib: reject reset while a zstd frame is incomplete
Resetting a ZstdCompress stream while a frame is still in
progress dropped the frame state, but any bytes already
written out stayed at the start of the output stream. The
next frame was then appended to that fragment, so the
resulting stream could not be decompressed. The failure was
silent: the compressor reported no error at all.

ZSTD_reset_session_only cancels unflushed internal data, so
refuse reset only when the incomplete frame has already
emitted output.

Signed-off-by: Xia Chao <shapirolutts@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/66088
Reviewed-By: James M Snell <jasnell@gmail.com>
2026-09-25 13:49:29 +00:00
..
2026-09-16 20:13:19 +02:00
2026-09-19 05:21:30 +00:00
2026-09-03 11:40:52 +02:00
2026-09-22 10:59:57 +02:00
2026-09-22 10:59:57 +02:00
2026-09-22 10:59:57 +02:00
2026-09-03 15:37:21 +00:00
2025-12-16 20:31:28 +00:00
2026-09-11 13:15:27 -04:00
2026-09-25 03:31:53 +00:00
2026-08-03 11:44:23 +00:00
2026-09-22 10:59:57 +02:00
2026-09-09 18:04:31 +02:00
2026-09-16 20:13:19 +02:00