]> Cypherpunks repositories - gostls13.git/commit
archive/zip: remove unused special case
authorAndrew Gerrand <adg@golang.org>
Fri, 31 May 2019 12:00:42 +0000 (22:00 +1000)
committerDaniel Martí <mvdan@mvdan.cc>
Tue, 27 Aug 2019 17:00:43 +0000 (17:00 +0000)
commit483d6d99256b3c486e0c99106e232b4909938328
tree3e22fb1140c79502466e9d3403107ecd331e81af
parent4a4f752c3812d18ffcaa06624de1a29d4e9ab056
archive/zip: remove unused special case

This removes a special case that was added to fix issue #10956, but that
was never actually effective. The code in the test case still fails to
read, so perhaps the zip64 support added in CL 6463050 inadvertently
caught this particular case.

It's possible that the original theorized bug still exists, but I'm not
convinced it was ever fixed.

Update #28700

Change-Id: I4854de616364510f64a6def30b308686563f8dbb
Reviewed-on: https://go-review.googlesource.com/c/go/+/179757
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/archive/zip/reader.go
src/archive/zip/reader_test.go