commit | bcc4431f240d1ee5bc89c6ab41542e096e07c48c | [log] [tgz] |
---|---|---|
author | Tianjie Xu <xunchang@google.com> | Mon Oct 10 12:11:30 2016 -0700 |
committer | Tianjie Xu <xunchang@google.com> | Mon Oct 10 14:26:15 2016 -0700 |
tree | e860ae0f6c0892e6e103a7666c693b869b119af8 | |
parent | 0cc93194eb14f5d9282a47af19a1e7a9d7244426 [diff] |
Check filename memory bound when parsing ziparchive 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