summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorJan Mazur <16736821+mzr@users.noreply.github.com>2020-09-28 18:53:33 (GMT)
committerGitHub <noreply@github.com>2020-09-28 18:53:33 (GMT)
commitff9147d93b868f0e13b9fe14e2a76c2879f6787b (patch)
treefbfb36ce08a859c0ce11a8247b311083933f8d3c /Misc
parenta195bceff7b552c5f86dec7894ff24dcc87235da (diff)
downloadcpython-ff9147d93b868f0e13b9fe14e2a76c2879f6787b.zip
cpython-ff9147d93b868f0e13b9fe14e2a76c2879f6787b.tar.gz
cpython-ff9147d93b868f0e13b9fe14e2a76c2879f6787b.tar.bz2
bpo-40105: ZipFile truncate in append mode with shorter comment (GH-19337)
Diffstat (limited to 'Misc')
-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.