commit | 3ca1976fa72df0b367eaea629e0a7ae59bf6cb44 | [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 | d780dcbaa5986f6e88f812d743d33d17b3f9a8e1 [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