8000 bpo-41735: Fix thread locks in zlib module may go wrong in rare case. · Pull Request #22126 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-41735: Fix thread locks in zlib module may go wrong in rare case. #22126

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

Merged
merged 2 commits into from Apr 27, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
8000
Diff view
Prev Previous commit
Merge branch 'master' into thread_lock
  • Loading branch information
Ma Lin authored Sep 7, 2020
commit a60b0718c9cf417b9912dc4715dc84744c4ef895
1 change: 1 addition & 0 deletions Modules/zlibmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,7 @@ zlib_Compress_compress_impl(compobject *self, PyTypeObject *cls,
PyObject *RetVal = NULL;
Py_ssize_t obuflen = DEF_BUF_SIZE;
int err;
zlibstate *state = PyType_GetModuleState(cls);

ENTER_ZLIB(self);

Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.
0