tag | ba2fec11c8de489436f29ef066b0f363dd91cd77 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Fri Jun 02 14:55:30 2017 -0700 |
object | 3d6a43155c702bce0e7e2a93a67247b5ce3946a5 |
Android 7.1.2 Release 12 (N2G47W)
commit | 3d6a43155c702bce0e7e2a93a67247b5ce3946a5 | [log] [tgz] |
---|---|---|
author | Tianjie Xu <xunchang@google.com> | Wed Apr 05 14:46:27 2017 -0700 |
committer | gitbuildkicker <android-build@google.com> | Mon Apr 17 16:24:34 2017 -0700 |
tree | 7c642aa2a6a08db562e17d5ebe07fd67e862f93c | |
parent | 658fbc17a2a2fcd7125f7ea23b1390ad5b2851f8 [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 (cherry picked from commit 74464a1361562d4042a67c5d66bfcf396ee7e59c) (cherry picked from commit d9fd1863f46d5185eaaebc0803ee9c5da3ef110b)