]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix thread locks in zlib module may go wrong in rare case. (#22126)
authorMa Lin <animalize@users.noreply.github.com>
Tue, 27 Apr 2021 08:37:11 +0000 (16:37 +0800)
committerGitHub <noreply@github.com>
Tue, 27 Apr 2021 08:37:11 +0000 (10:37 +0200)
commit93f411838a95f6acbcc29d16ecfd10093cfd5cfd
tree9150cb19fd9117278b243f3e502de5131afea7a5
parent878bc8b6c2051cf344c594636fa957ce6c9d2188
Fix thread locks in zlib module may go wrong in rare case. (#22126)

Setting `next_in` before acquiring the thread lock may mix up compress/decompress state in other threads.
Misc/NEWS.d/next/Library/2020-09-07-11-15-15.bpo-41735.NKqGKy.rst [new file with mode: 0644]
Modules/zlibmodule.c