[3.13] gh-148395: Fix a possible UAF in `{LZMA,BZ2,_Zlib}Decompressor` (GH-148396) (#148479)
gh-148395: Fix a possible UAF in `{LZMA,BZ2,_Zlib}Decompressor` (GH-148396)
Fix dangling input pointer after `MemoryError` in _lzma/_bz2/_ZlibDecompressor.decompress
(cherry picked from commit 8fc66aef6d7b3ae58f43f5c66f9366cc8cbbfcd2)
Co-authored-by: Stan Ulbrych <stan@python.org> M
Miss Islington (bot) committed
c3cf71c3366fe49acb776a639405c0eea6169c20
Parent: 74be9e2
Committed by GitHub <noreply@github.com>
on 4/13/2026, 1:35:24 AM