tag | 5fa7d3df2679be4051c5bf2d8a3f8d6f08dbaaa2 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Fri Jul 28 13:23:12 2017 -0700 |
object | 2aca93e0f2c5183edef31574ec8e76ec856d3e48 |
Android 7.1.1 Release 49 (N9F27H)
commit | 2aca93e0f2c5183edef31574ec8e76ec856d3e48 | [log] [tgz] |
---|---|---|
author | Tianjie Xu <xunchang@google.com> | Wed Apr 05 14:46:27 2017 -0700 |
committer | gitbuildkicker <android-build@google.com> | Mon Apr 24 12:20:05 2017 -0700 |
tree | fb05e74e6a631650673667b12361ccfb0f2be29a | |
parent | cd77f5eb91a5e8798ddc5ae8a1424a386814d5a7 [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)