• Russ Cox's avatar
    archive/zip: fix reading, writing of zip64 archives · 4aedbf5b
    Russ Cox authored
    Read zip files that contain only 64-bit header offset, not 64-bit sizes.
    Fixes #13367.
    
    Read zip files that contain completely unexpected Extra fields,
    provided we do not need to find 64-bit size or header offset information there.
    Fixes #13166.
    
    Write zip file entries with 0xFFFFFFFF uncompressed data bytes
    correctly (must use zip64 header, since that's the magic indicator).
    Fixes new TestZip64EdgeCase. (Noticed while working on the CL.)
    
    Change-Id: I84a22b3995fafab8052b99de8094a9f35a25de5b
    Reviewed-on: https://go-review.googlesource.com/18317Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    4aedbf5b
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...