gh-67413: Fix segfaults and multiple leaks in the lzma and bz2 modules by ZackerySpytz · Pull Request #7822 · python/cpython
lzma.LZMADecompressor and bz2.BZ2Decompressor objects caused segfaults when their __init__() methods were not called. lzma.LZMADecompressor, lzma.LZMACompressor, bz2.BZ2Compressor, and bz2.BZ2Decompressor objects would leak locks and internal buffers when their __init__() methods were called multiple times.
erlend-aasland
changed the title
bpo-23224: Fix segfaults and multiple leaks in the lzma and bz2 modules
gh-67413: Fix segfaults and multiple leaks in the lzma and bz2 modules
JelleZijlstra pushed a commit to JelleZijlstra/cpython that referenced this pull request
Sep 10, 2024…es (pythonGH-7822) lzma.LZMADecompressor and bz2.BZ2Decompressor objects caused segfaults when their `__init__()` methods were not called. lzma.LZMADecompressor, lzma.LZMACompressor, bz2.BZ2Compressor, and bz2.BZ2Decompressor objects would leak locks and internal buffers when their `__init__()` methods were called multiple times. https://bugs.python.org/issue23224
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters