Skip to content
Snippets Groups Projects
Commit 74139e3f 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)
parent 6611d615
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment