tag | c3bc978f3edb90286d6eb73d436b8e2b2b2e20d0 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Fri Jun 02 15:03:46 2017 -0700 |
object | 74139e3f37d4aa455b846e845c849caadfe372b5 |
Android 7.1.2 Release 14 (NHG47N)
commit | 74139e3f37d4aa455b846e845c849caadfe372b5 | [log] [tgz] |
---|---|---|
author | Tianjie Xu <xunchang@google.com> | Wed Apr 05 14:46:27 2017 -0700 |
committer | gitbuildkicker <android-build@google.com> | Wed Apr 19 10:45:24 2017 -0700 |
tree | 26bc5d206c2ab59bd337dd708040d072af2e5983 | |
parent | 6611d615b0cb01d716698ef19da226edc7e03645 [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)