commit | 69d325c1fe307384276de9f6e46bc87c4655ae43 | [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 | 31985d8e52212e8f81283207f914310cf5745fea [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