diff options
| author | Joe Shaw <joe@joeshaw.org> | 2015-02-12 17:21:01 -0500 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2015-02-26 15:24:32 +0000 |
| commit | 433c1ad1400047b17b9cd7107afa7afe55a04e12 (patch) | |
| tree | 44769b963fcac3fbbc4d334134cd1e89f86a2706 /src/os/exec | |
| parent | 8b1bd75e66a818ff9d844c57ba82899ac563c3f9 (diff) | |
| download | go-433c1ad1400047b17b9cd7107afa7afe55a04e12.tar.xz | |
archive/zip: fix size value in ZIP64 end central directory record
Section 4.3.14.1 of the ZIP file format
spec (https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT) says,
The value stored into the "size of zip64 end of central directory
record" should be the size of the remaining record and should not
include the leading 12 bytes.
We were previously writing the full size, including the 12 bytes.
Fixes #9857
Change-Id: I7cf1fc8457c5f306717cbcf61e02304ab549781f
Reviewed-on: https://go-review.googlesource.com/4760
Reviewed-by: Andrew Gerrand <adg@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/os/exec')
0 files changed, 0 insertions, 0 deletions
