platform_build_soong/third_party/zip
Kelvin Zhang 45e2f1405d Fix zip64 reader when file size is < 4GB and 32 bit fields are -1
When CopyFrom writes a zipentry, it strips extra fields and generates
data descriptors. When writing data descriptors, it only writes 64 bit
values if the relevant sizes are >4GB. In some cases, the sizes are <4GB
but 32 bit sizes are set to -1. In this situation, CopyFrom will write
incorrect local file header, resulting in a zip file that can't be
parsed by standard zip tools.

Test: Unit Tests
Bug: 161922066
Change-Id: I64319a80647013eaf7693cf8bf5c6120016913a3
2020-08-06 15:48:04 -04:00
..
testdata Add archive/zip from go1.7rc5 tag 2016-08-10 16:10:16 -07:00
Android.bp Fix Zip64 behavior in zip2zip 2017-02-17 13:21:03 -08:00
android.go Fix zip64 reader when file size is < 4GB and 32 bit fields are -1 2020-08-06 15:48:04 -04:00
android_test.go Strip extended-timestap extra block in zip2zip. 2017-09-19 21:01:18 -07:00
example_test.go Add archive/zip from go1.7rc5 tag 2016-08-10 16:10:16 -07:00
reader.go Add archive/zip from go1.7rc5 tag 2016-08-10 16:10:16 -07:00
reader_test.go Add archive/zip from go1.7rc5 tag 2016-08-10 16:10:16 -07:00
register.go Add archive/zip from go1.7rc5 tag 2016-08-10 16:10:16 -07:00
struct.go Add archive/zip from go1.7rc5 tag 2016-08-10 16:10:16 -07:00
writer.go Have soong_zip not write a data descriptor for non-compressed files 2017-08-24 14:43:35 -07:00
writer_test.go Add archive/zip from go1.7rc5 tag 2016-08-10 16:10:16 -07:00
zip_test.go Inclusive fix: change the word dummy to fake in zip_test.go 2020-07-28 18:21:10 +00:00