commit | 32f53883993fbed5f08c1e13606e91acb3715d5d | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Wed Mar 15 15:25:24 2017 -0700 |
committer | Colin Cross <ccross@android.com> | Wed Mar 15 21:09:47 2017 -0700 |
tree | 21f85b6af385db5059898a771c9f99107e17668b | |
parent | 7f4e4281f8889511a9d641ed1eb47f92692efbb1 [diff] |
Fix sign extension issues Fix sign extension issues when reading and writing pointers to int32_t fields. Cast the pointer to a uint32_t to check if it fits, and cast it through uintptr_t and uint32_t. Bug: 36281983 Test: m -j test-art-host with LibartImgHostBaseAddress == 0xa0000000 Change-Id: Idec99dcb5a47f2633a4f14c98af8e23c46dc7052