]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] gh-88233: zipfile: handle extras after a zip64 extra (GH-96161) (#102087)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 28 Mar 2023 08:58:51 +0000 (01:58 -0700)
committerGitHub <noreply@github.com>
Tue, 28 Mar 2023 08:58:51 +0000 (10:58 +0200)
commitd445147dfa04bfd52f1cfa7058f4428ca4c7c694
tree6de46458a4b26fcdeea865679a7940c475053650
parent3288923b7aac4b4e5021b955c6f0b445cb034e46
[3.10] gh-88233: zipfile: handle extras after a zip64 extra (GH-96161) (#102087)

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>
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]