commit | 18cf8168ef34750ffae6451bded31ff06d2d2763 | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Thu Oct 29 13:01:21 2015 -0700 |
committer | Christopher Ferris <cferris@google.com> | Thu Oct 29 13:01:21 2015 -0700 |
tree | a60b636ae0f4b9722c112cff0cd9ba2730428e9f | |
parent | 9fb05555a41eb0cdbe6cef8bbe5860a4a8bfcfb2 [diff] |
Add a size when checking local reads/writes. When doing a local unwind and checking whether a read or a write is valid, the length of the read/write is not checked. This can lead to crashes if attempting to read from within a map, but it would cross into out of the map. The fix is to check the size of the read/write. Bug: 25371801 Change-Id: I52556cec06268ce3be5a6fb718147ba62c0a489f