commit | a5e8e5812a11ec9686294de8a5d68aaf2ab72475 | [log] [tgz] |
---|---|---|
author | Ray Essick <essick@google.com> | Thu Aug 09 16:46:21 2018 -0700 |
committer | Ray Essick <essick@google.com> | Thu Aug 23 15:01:11 2018 -0700 |
tree | 4eb409d442d7c33445fc3a47a8634fdde27a2417 | |
parent | 8f688823fc5399ab0f42ba2c8986cdd127dbde9b [diff] |
Avoid 32-bit overflows on offset+size calculations move to 64 bit math for several offset+size checks to avoid 32-bit overflows. Exposed by enabling integer overflow detection 10 months ago; we finally ran into a file that tripped the condition. Bug: 112241654 Bug: 112537774 Test: manual Change-Id: I027e87d9cd28e29ba21385543aaa3f1bc6f44b5b