commit | a8d932f2a5b4d56943ffc4a075cd4a3dbc71c256 | [log] [tgz] |
---|---|---|
author | Tianjie Xu <xunchang@google.com> | Wed Apr 05 14:46:27 2017 -0700 |
committer | Tianjie Xu <xunchang@google.com> | Thu Apr 06 18:46:06 2017 +0000 |
tree | fa7f6f282ef147136051a0398218344e89a80e42 | |
parent | 7e21e1efeb2513cb48e416486db5cdbf2c2ca1ec [diff] |
Do Not Merge: 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 (cherry picked from commit 74464a1361562d4042a67c5d66bfcf396ee7e59c)