Add a check to ensure the filename boundary doesn't exceed the mapped memory region. Also add the corresponding unit test. Bug: 28802225 Test: New unit test passes. Change-Id: Ibf543a7da3d7898952e9eb332c84cdfc67cf5aa4 |
||
|---|---|---|
| .. | ||
| testdata | ||
| Android.bp | ||
| entry_name_utils-inl.h | ||
| entry_name_utils_test.cc | ||
| zip_archive.cc | ||
| zip_archive_common.h | ||
| zip_archive_private.h | ||
| zip_archive_stream_entry.cc | ||
| zip_archive_test.cc | ||
| zip_writer.cc | ||
| zip_writer_test.cc | ||