-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
[3.8] [3.9] bpo-41735: Fix thread lock in zlib.Decompress.flush() may go wrong (GH-29588) #29812
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ong (pythonGH-29588) * Fix thread lock in zlib.Decompress.flush() may go wrong Getting `.unconsumed_tail` before acquiring the thread lock may mix up decompress state. backport of python#29587 to 3.9/3.8. (cherry picked from commit 86c1265) Co-authored-by: Ma Lin <animalize@users.noreply.github.com>
Sorry, I can't merge this PR. Reason: |
Sorry, I can't merge this PR. Reason: |
@animalize and @gpshead: Status check is done, and it's a success ✅ . |
Sorry, I can't merge this PR. Reason: |
This PR is stale because it has been open for 30 days with no activity. |
Sorry, I can't merge this PR. Reason: |
@gpshead: Is this a security fix? Python 3.8 no longer accept bugfixes. https://bugs.python.org/issue41735 is not marked as a security fix. cc @ambv |
Getting
.unconsumed_tail
before acquiring the thread lock may mix up decompress state.backport of #29587 to 3.9/3.8.
(cherry picked from commit 86c1265)
Co-authored-by: Ma Lin animalize@users.noreply.github.com
https://bugs.python.org/issue41735
Automerge-Triggered-By: GH:gpshead