]> Cypherpunks repositories - gostls13.git/commit
archive/zip: avoid overflow in record count and byte offset fields
authorBrad Fitzpatrick <bradfitz@golang.org>
Tue, 15 Nov 2016 19:33:10 +0000 (11:33 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 17 Nov 2016 18:54:33 +0000 (18:54 +0000)
commitc1e9760d4ca102539b2d52a7c4021205c29070bf
treec9fef652a544ac5271c04a5c006dfb9cff1958e5
parent90b8a0ca2d0b565c7c7199ffcf77b15ea6b6db3a
archive/zip: avoid overflow in record count and byte offset fields

This is Quentin's https://golang.org/cl/33012 with updated tests.

Fixes #14186

Change-Id: Ib51deaab0368c6bad32ce9d6345119ff44f3c2d6
Reviewed-on: https://go-review.googlesource.com/33291
Reviewed-by: Quentin Smith <quentin@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/archive/zip/writer.go
src/archive/zip/zip_test.go