diff options
author | Tianjie Xu <xunchang@google.com> | 2017-04-05 14:46:27 -0700 |
---|---|---|
committer | Jiyong Park <jiyong@google.com> | 2017-06-30 17:19:56 +0900 |
commit | 0fda1cf6330942c3671348f905b9009868850a77 (patch) | |
tree | f3d23ce5320244df4828969b091b76e23551917c /libcutils/socket_local_server_unix.cpp | |
parent | 9e020e2d117ac389387743c22a30f049c39970c7 (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)
Diffstat (limited to 'libcutils/socket_local_server_unix.cpp')
0 files changed, 0 insertions, 0 deletions