]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-88233: zipfile: handle extras after a zip64 extra (GH-96161)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 20 Feb 2023 17:33:00 +0000 (09:33 -0800)
committerGitHub <noreply@github.com>
Mon, 20 Feb 2023 17:33:00 +0000 (09:33 -0800)
commit62c0327487ce39ec6504919b7712e0f197075ef9
tree2140a916d62cf0c7dbc4bf919f5b2a2d4aee8ed8
parent1747be464197eb82c486fadbd7e6a19e011bcf19
gh-88233: zipfile: handle extras after a zip64 extra (GH-96161)

Previously, any data _after_ the zip64 extra would be removed.

With many new tests.

Fixes GH-88233
(cherry picked from commit 59e86caca812fc993c5eb7dc8ccd1508ffccba86)

Co-authored-by: Tim Hatch <tim@timhatch.com>
Automerge-Triggered-By: GH:jaraco
Lib/test/test_zipfile.py
Lib/zipfile.py
Misc/NEWS.d/next/Library/2022-09-05-12-17-34.gh-issue-88233.gff9qJ.rst [new file with mode: 0644]