Files
Miss Islington (bot)andGregory P. Smith 0a8940c204 [3.15] gh-160549: Fix crash when freeing a busy multi-threaded ZstdCompressor (GH-160550) (#160637)
gh-160549: Fix crash when freeing a busy multi-threaded ZstdCompressor (GH-160550)

ZSTD_freeCCtx() frees a dictionary loaded with ZSTD_CCtx_loadDictionary()
before it stops the worker threads.  Make libzstd wait for unfinished
jobs before freeing the compression context of a ZstdCompressor that
uses worker threads and a ZstdDict.

Works around https://github.com/facebook/zstd/issues/4862
(cherry picked from commit 23a5ba1c93)

Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
2026-10-25 06:46:30 +00:00
..