platform_system_core/libziparchive
Tianjie Xu 1ee4892e66 Fix out of bound access in libziparchive
The boundary check of an invalid EOCD record may succeed due to the
overflow of uint32_t. Fix the check.

Test: Open the crash.apk and libziparchive reports the offset error as expected.

Bug: 31251826
Change-Id: I1d8092a19b73886a671bc9d291cfc27d65e3d236
(cherry picked from commit ae8180c06d)
2016-09-22 18:24:53 -07:00
..
testdata Add unit tests for libziparchive. 2013-12-10 16:48:50 +00:00
Android.mk Fix toolchain issue for windows build of libziparchive. 2014-10-16 07:49:16 +00:00
zip_archive.cc Fix out of bound access in libziparchive 2016-09-22 18:24:53 -07:00
zip_archive_test.cc Prevent the accidental closure of fd[0] for missing zip files. 2014-07-28 08:41:26 +00:00