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.
Merged-In: Ie89f709bb2d1ccb647116fb7ccb1e23c943e5ab8
Change-Id: Ie89f709bb2d1ccb647116fb7ccb1e23c943e5ab8
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| testdata | ||
| .clang-format | ||
| Android.bp | ||
| entry_name_utils-inl.h | ||
| entry_name_utils_test.cc | ||
| unzip.cpp | ||
| zip_archive.cc | ||
| zip_archive_benchmark.cpp | ||
| zip_archive_common.h | ||
| zip_archive_private.h | ||
| zip_archive_stream_entry.cc | ||
| zip_archive_test.cc | ||
| zip_writer.cc | ||
| zip_writer_test.cc | ||