platform_system_core/libziparchive/testdata
Tianjie 0ec0eaa214 Support parsing of data descriptor
The size fields in the data descriptor can be either 4 bytes or 8 bytes.
This depends on if the size are read from the zip64 extended field in
the local file header. This cl adds support to parse these cases.

Also fix a misconception in that the uncompressed and compressed size
doesn't need to exist together in the zip64 fields of the central
directory. But they still need to co-exist in the fields of the local
file header.

Bug: 150900468
Test: unit tests pass, python tests pass
Change-Id: Ia54f9bf56c85ff456ead90a136f7fddc5be5220c
2020-03-31 12:01:12 -07:00
..
bad_crc.zip
bad_filename.zip
crash.apk
declaredlength.zip
dummy-update.zip
empty.zip Fix SEGV in libziparchive with malformed zip file. 2019-12-17 08:39:09 -08:00
large.zip
valid.zip
zero-size-cd.zip Fix SEGV in libziparchive with malformed zip file. 2019-12-17 08:39:09 -08:00
zip64.zip Support parsing of data descriptor 2020-03-31 12:01:12 -07:00