summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMa Lin <animalize@users.noreply.github.com>2021-04-27 08:37:11 (GMT)
committerGitHub <noreply@github.com>2021-04-27 08:37:11 (GMT)
commit93f411838a95f6acbcc29d16ecfd10093cfd5cfd (patch)
tree9150cb19fd9117278b243f3e502de5131afea7a5 /Misc
parent878bc8b6c2051cf344c594636fa957ce6c9d2188 (diff)
downloadcpython-93f411838a95f6acbcc29d16ecfd10093cfd5cfd.zip
cpython-93f411838a95f6acbcc29d16ecfd10093cfd5cfd.tar.gz
cpython-93f411838a95f6acbcc29d16ecfd10093cfd5cfd.tar.bz2
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.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2020-09-07-11-15-15.bpo-41735.NKqGKy.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-09-07-11-15-15.bpo-41735.NKqGKy.rst b/Misc/NEWS.d/next/Library/2020-09-07-11-15-15.bpo-41735.NKqGKy.rst
new file mode 100644
index 0000000..9e36435
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2020-09-07-11-15-15.bpo-41735.NKqGKy.rst
@@ -0,0 +1 @@
+Fix thread locks in zlib module may go wrong in rare case. Patch by Ma Lin.