Skip to content

[3.13] gh-137571: Protect against possible UnboundLocalError in gzip._GzipReader.read() (GH-150222)#150231

Merged
serhiy-storchaka merged 1 commit into
python:3.13from
miss-islington:backport-28eac9a-3.13
May 22, 2026
Merged

[3.13] gh-137571: Protect against possible UnboundLocalError in gzip._GzipReader.read() (GH-150222)#150231
serhiy-storchaka merged 1 commit into
python:3.13from
miss-islington:backport-28eac9a-3.13

Conversation

@miss-islington
Copy link
Copy Markdown
Contributor

@miss-islington miss-islington commented May 22, 2026

This has not been observed in practice, but we cannot be 100% sure that
it will not happen with some weird gzip data.
(cherry picked from commit 28eac9a)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

…GzipReader.read() (pythonGH-150222)

This has not been observed in practice, but we cannot be 100% sure that
it will not happen with some weird gzip data.
(cherry picked from commit 28eac9a)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@serhiy-storchaka serhiy-storchaka merged commit 46cff6b into python:3.13 May 22, 2026
42 checks passed
@miss-islington miss-islington deleted the backport-28eac9a-3.13 branch May 22, 2026 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants