commit | 2718068e6098c99b5c21598cd4991ab0d901571a | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Wed Nov 28 17:01:59 2018 -0800 |
committer | Colin Cross <ccross@android.com> | Thu Nov 29 11:02:56 2018 -0800 |
tree | bbb360b22abbcdc86df5bc5a096045e58b3e3c68 | |
parent | 918b11c0903cfb8f00d4008806463c4b7a29e3c8 [diff] |
Validate allocations against mappings Bug 120032857 is seeing what appears to be allocations with incorrect end addresses, leading to a much later crash when it tries to map a zero page outside the valid virtual address space. Detect allocations that extend outside the highest or lowest memory mapping and crash immediately instead. Test: memunreachable_test Bug: 120032857 Change-Id: I9be670a025143e7078360a6bf7a83219279614d9