diff options
author | Tianjie Xu <xunchang@google.com> | 2017-04-05 14:46:27 -0700 |
---|---|---|
committer | Tianjie Xu <xunchang@google.com> | 2017-04-06 11:42:13 -0700 |
commit | 6fdfd58fe1e67e438fc85bb28e684a8fd3aa3dcb (patch) | |
tree | 49da12163bc71af34b32810d9555b77eb814cf38 /libsparse/sparse.cpp | |
parent | 8027acd1407d23fd7ec4099bb83b89cf0a5d992c (diff) |
Do Not Merge: 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)
Diffstat (limited to 'libsparse/sparse.cpp')
0 files changed, 0 insertions, 0 deletions