summaryrefslogtreecommitdiff
path: root/libutils/Unicode.cpp
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2017-04-05 14:46:27 -0700
committerTianjie Xu <xunchang@google.com>2017-04-06 18:07:02 +0000
commit31a41c005548fc98c846e60379ecbc6a087b92d2 (patch)
tree7e9fcd2a763b88f9c8edf2011c27a566c013c225 /libutils/Unicode.cpp
parentc7129dc863632c8289178b7466edad3dd8eea0cf (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)
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions