diff options
author | Narayan Kamath <narayan@google.com> | 2016-09-13 15:31:56 +0100 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2016-09-13 16:08:38 +0100 |
commit | a1ec23634ab0f4f9cba8788b728d869007cd6ff7 (patch) | |
tree | 34158074a8d82d2f3c59da93018402ad5c975808 /libutils/ProcessCallStack.cpp | |
parent | c68706fe49258f24c9a29f20eb0c8efc2eab0465 (diff) |
libzipfile: add additional validity checks.
- Make sure the start and end of the data for a given entry are
within the allocated buffer.
- Make sure all central directory entries start and end within the
central directory buffer.
- Reject zip file entries that have no filenames.
bug: 30916186
test: test_zipfile with known bad zip files.
Change-Id: Ibf3f6469e60c85ec1608f5ce613d40867d2d09b7
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions