platform_system_core/libziparchive
Adam Lesinski d987c9dd9e ZipWriter: Keep LFH and CFH in sync
We change the GPB in the LocalFileHeader if the entry can not
have a trailing DataDescriptor. Make sure to patch the
CentralFileHeader to have the same bits set.

Modify ZipArchive to check that the data descriptor bit is consistent
between Central and Local file headers.

(cherry-pick of commit e0eca55fe6)

Test: make ziparchive-tests
Bug: 36686974
Change-Id: Ied167570abcf6426b1c678cd40123e5ad65909db
2017-04-11 01:45:25 +00:00
..
testdata Add functions in recovery/minzip to libziparchive 2016-10-15 23:16:34 -07:00
Android.bp Merge "Use shared lib of libutils, libz and libbase." 2017-01-05 23:24:21 +00:00
entry_name_utils-inl.h
entry_name_utils_test.cc
zip_archive.cc ZipWriter: Keep LFH and CFH in sync 2017-04-11 01:45:25 +00:00
zip_archive_common.h Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
zip_archive_private.h Add functions in recovery/minzip to libziparchive 2016-10-15 23:16:34 -07:00
zip_archive_stream_entry.cc liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
zip_archive_test.cc Add functions in recovery/minzip to libziparchive 2016-10-15 23:16:34 -07:00
zip_writer.cc ZipWriter: Keep LFH and CFH in sync 2017-04-11 01:45:25 +00:00
zip_writer_test.cc Merge "ZipWriter: Do not write DataDescriptor for STORED files" 2017-04-07 00:33:20 +00:00