gh-137571: Protect against possible UnboundLocalError in gzip._GzipReader.read()#150222
gh-137571: Protect against possible UnboundLocalError in gzip._GzipReader.read()#150222serhiy-storchaka merged 1 commit intopython:mainpython/cpython:mainfrom serhiy-storchaka:gzip-UnboundLocalErrorserhiy-storchaka/cpython:gzip-UnboundLocalErrorCopy head branch name to clipboard
Conversation
…zipReader.read() This has not been observed in practice, but we cannot be 100% sure that it will not happen with some weird gzip data.
|
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14, 3.15. |
|
GH-150229 is a backport of this pull request to the 3.15 branch. |
|
GH-150230 is a backport of this pull request to the 3.14 branch. |
|
GH-150231 is a backport of this pull request to the 3.13 branch. |
|
|
|
|
|
|
…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.
…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.
This has not been observed in practice, but we cannot be 100% sure that it will not happen with some weird gzip data.
gzip._GzipReader.read()with sometimes uninitialized variable #137571