commit | 41cf173420bb52b19e84e97540ca63d357627841 | [log] [tgz] |
---|---|---|
author | Tianjie <xunchang@google.com> | Mon Apr 13 16:29:22 2020 -0700 |
committer | Tianjie <xunchang@google.com> | Tue Apr 14 11:26:42 2020 -0700 |
tree | 87138b906b96ca799d47bd0126f1d92f156f65e2 | |
parent | e75a3e112a5349902203ba6a1f69ea1fb3ee49c2 [diff] |
Fix the boundary check when parsing sizes in zip64 extended field We should check if the data to read resides within the boundary of the extended field. Also check OOB when reading bytes from the zipfile. Bug: 153828925 Test: parse the poc with hwasan build Change-Id: I54b58a287b9ae4ca0e5cc563086c1ed8051fb72a