]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix thread locks in zlib module may go wrong in rare case (#22130)
authorMa Lin <animalize@users.noreply.github.com>
Mon, 26 Apr 2021 19:50:33 +0000 (03:50 +0800)
committerGitHub <noreply@github.com>
Mon, 26 Apr 2021 19:50:33 +0000 (21:50 +0200)
commitba7338a46038bdb55159bf37e7ad83f177e5257b
tree56bfa63a4d28b013fc9eb7612853c14aae76ecfb
parentd0698c676ca1b7d34be4165a631bf4847583de76
Fix thread locks in zlib module may go wrong in rare case (#22130)

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-21-40-07.bpo-41735.NKqGKy.rst [new file with mode: 0644]
Modules/zlibmodule.c