commit | 0413830870bb211660bdbbfc582fea9789feb4c2 | [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 | 3314965e92baee26dbbceacea8782bedc3a53a00 [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)