• Brad Fitzpatrick's avatar
    archive/zip: fix bug reading zip64 files · 02a15e71
    Brad Fitzpatrick authored
    ZIP64 Extra records are variably sized, but we weren't capping
    our reading of the extra fields at its previously-declared
    size.
    
    No test because I don't know how to easily create such files
    and don't feel like manually construction one.  But all
    existing tests pass, and this is "obviously correct" (queue
    laughter).
    
    Fixes #7069
    
    R=golang-codereviews, iant
    CC=golang-codereviews
    https://golang.org/cl/48150043
    02a15e71
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...