commit | 3314965e92baee26dbbceacea8782bedc3a53a00 | [log] [tgz] |
---|---|---|
author | Tianjie Xu <xunchang@google.com> | Mon Oct 10 12:11:30 2016 -0700 |
committer | Jiyong Park <jiyong@google.com> | Fri Jun 30 17:19:28 2017 +0900 |
tree | efcefa16d4b8c73e8b2d06d3741beff9d0dc7e25 | |
parent | 50d79d01391417e16b274e7cebecd1eb66ac794a [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. Merged-In: Ibf543a7da3d7898952e9eb332c84cdfc67cf5aa4 Change-Id: Ibf543a7da3d7898952e9eb332c84cdfc67cf5aa4 (cherry picked from commit bcc4431f240d1ee5bc89c6ab41542e096e07c48c)