[DO NOT MERGE] Check bounds in offsetToPtr am: bb6096d37b  -s ours am: 31b54b9803 am: 56020da601  -s ours am: 29104fe5eb am: 831a5ccc5d am: 65d2acbc9d
am: 4f560b5165  -s ours

Change-Id: Iddacd1645893fd4405f851fda1489bb547bda811