]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] gh-150599: Prevent bz2 decompressor reuse after errors (#150600) (#151133)
authorStan Ulbrych <stan@python.org>
Sat, 4 Jul 2026 13:15:47 +0000 (15:15 +0200)
committerGitHub <noreply@github.com>
Sat, 4 Jul 2026 13:15:47 +0000 (14:15 +0100)
commit938ec030e90c5e53f1faac6fab1643f14e4f4a79
tree254551ff6547699302431f96542164cc4e5ce4ae
parent1790e584142b5db070b74bc64777ad14e26608c2
[3.10] gh-150599: Prevent bz2 decompressor reuse after errors (#150600) (#151133)

* [3.12] gh-150599: Prevent bz2 decompressor reuse after errors (#150600) (#151054)

(cherry picked from commit 5755d0f083949ff3c5bf3a37e673e24e306b036e)

* We can just make it a plain assignment, 1a9cdaf63af7014dd7bd852b4d8a8c0ab98387ab was 3.15+ anyway.
Lib/test/test_bz2.py
Misc/NEWS.d/next/Security/2026-05-30-09-36-20.gh-issue-150599.nlHqU-.rst [new file with mode: 0644]
Modules/_bz2module.c