commit | 0fda1cf6330942c3671348f905b9009868850a77 | [log] [tgz] |
---|---|---|
author | Tianjie Xu <xunchang@google.com> | Wed Apr 05 14:46:27 2017 -0700 |
committer | Jiyong Park <jiyong@google.com> | Fri Jun 30 17:19:56 2017 +0900 |
tree | f3d23ce5320244df4828969b091b76e23551917c | |
parent | 9e020e2d117ac389387743c22a30f049c39970c7 [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. Merged-In: Ie89f709bb2d1ccb647116fb7ccb1e23c943e5ab8 Change-Id: Ie89f709bb2d1ccb647116fb7ccb1e23c943e5ab8 (cherry picked from commit 74464a1361562d4042a67c5d66bfcf396ee7e59c)