commit | 51f3dc871a376f318232b0fc428aff1a88f58281 | [log] [tgz] |
---|---|---|
author | Tianjie Xu <xunchang@google.com> | Wed Apr 05 14:46:27 2017 -0700 |
committer | Tianjie Xu <xunchang@google.com> | Wed Apr 05 23:03:50 2017 +0000 |
tree | 1c71af7ca8254284276f2bfea15bdf85a8b5adf4 | |
parent | dbed956a1d946b261e0e3825704d838c3aa63932 [diff] |
Fix out of bound read in libziparchive We should check the boundary of central directory before checking its signature. Swap the order of these two checks. Bug: 36392138 Test: libziparchive doesn't read the signature after boundary check fails. Change-Id: Ie89f709bb2d1ccb647116fb7ccb1e23c943e5ab8