platform_system_core/libziparchive
Tianjie Xu d9fd1863f4 Fix out of bound read in libziparchive
We should check the boundary of central directory before checking its
signature. Swap the order of these two checks.

Bug: 36392138
Test: libziparchive doesn't read the signature after boundary check fails.
Change-Id: Ie89f709bb2d1ccb647116fb7ccb1e23c943e5ab8
(cherry picked from commit 74464a1361)
2017-04-06 18:07:02 +00:00
..
testdata libziparchive: fix issue with a directory with one file 2015-03-19 09:28:41 +00:00
Android.mk Prevent unaligned read in libziparchive. 2015-04-09 17:00:14 -07:00
entry_name_utils-inl.h Reject zip archives whose entry names are not valid UTF-8. 2014-12-08 12:25:05 +00:00
entry_name_utils_test.cc Reject zip archives whose entry names are not valid UTF-8. 2014-12-08 12:25:05 +00:00
zip_archive.cc Fix out of bound read in libziparchive 2017-04-06 18:07:02 +00:00
zip_archive_test.cc Add |optional_suffix| to StartIteration() 2015-06-23 17:31:16 -07:00