mirror of
https://github.com/python/cpython.git
synced 2026-06-29 04:10:54 +00:00
[3.15] gh-150599: Prevent bz2 decompressor reuse after errors (GH-150600)
(cherry picked from commit 5755d0f083)
Co-authored-by: Stan Ulbrych <stan@python.org>
This commit is contained in:
parent
a642d1ab38
commit
d3ca26983d
3 changed files with 33 additions and 3 deletions
|
|
@ -0,0 +1,3 @@
|
|||
Fix a possible stack buffer overflow in :mod:`bz2` when a
|
||||
:class:`bz2.BZ2Decompressor` is reused after a decompression error.
|
||||
The decompressor now becomes unusable after libbz2 reports an error.
|
||||
Loading…
Add table
Add a link
Reference in a new issue