Skip to content

v1.5.6.4

Compare
Choose a tag to compare
@SpringMT SpringMT released this 16 Apr 06:41
· 26 commits to main since this release

What's Changed

Bug Fix

  • Fixed a memory leak when using Zstd.decompress().
    In versions 1.5.6.2 and 1.5.6.3, the context (ZSTD_DCtx) does not released after the decompression process was completed. This PR #81 addresses that issue.

  • Resolved a crash when using Zstd.compress().
    In versions 1.5.6.2 and 1.5.6.3, Zstd.compress() internally used ZSTD_compressStream2, but it was crashing due to incomplete consumption of the internal buffer when large bytes were received. Zstd.compress() now uses ZSTD_compress2 instead of ZSTD_compressStream2 to ensure it doesn’t crash when processing large bytes.

If you are using versions v1.5.6.2 or v1.5.6.3, please update to version v1.5.6.4.

Full Changelog: v1.5.6.3...v1.5.6.4