Merge "[DO NOT MERGE] Check bounds in offsetToPtr" into nyc-dev