summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Library
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-09-28 20:18:47 (GMT)
committerGitHub <noreply@github.com>2020-09-28 20:18:47 (GMT)
commit048f54dc75d51e8a1c5822ab7b2828295192aaa5 (patch)
treef3b118cee6c58f5074c4ab748044d6ff449e1e8e /Misc/NEWS.d/next/Library
parentbdf46bc7e12c08aaab676a2c947f03daffe035a7 (diff)
downloadcpython-048f54dc75d51e8a1c5822ab7b2828295192aaa5.zip
cpython-048f54dc75d51e8a1c5822ab7b2828295192aaa5.tar.gz
cpython-048f54dc75d51e8a1c5822ab7b2828295192aaa5.tar.bz2
bpo-40105: ZipFile truncate in append mode with shorter comment (GH-19337)
(cherry picked from commit ff9147d93b868f0e13b9fe14e2a76c2879f6787b) Co-authored-by: Jan Mazur <16736821+mzr@users.noreply.github.com>
Diffstat (limited to 'Misc/NEWS.d/next/Library')
-rw-r--r--Misc/NEWS.d/next/Library/2020-04-03-16-13-59.bpo-40105.hfM2c0.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-04-03-16-13-59.bpo-40105.hfM2c0.rst b/Misc/NEWS.d/next/Library/2020-04-03-16-13-59.bpo-40105.hfM2c0.rst
new file mode 100644
index 0000000..f71a7a1
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2020-04-03-16-13-59.bpo-40105.hfM2c0.rst
@@ -0,0 +1,2 @@
+ZipFile truncates files to avoid corruption when a shorter comment is provided
+in append ("a") mode. Patch by Jan Mazur.