Skip to content
Snippets Groups Projects
Commit 96d2e285 authored by Tianjie Xu's avatar Tianjie Xu Committed by gitbuildkicker
Browse files

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 74464a13)
(cherry picked from commit d9fd1863)
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment