commit | 74464a1361562d4042a67c5d66bfcf396ee7e59c | [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 | 7afd4cdf82018716c9696832afa86e76a82bc1ad [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