DescriptionS390:[crankshaft] Sign-ext key before array access
The 'key' value being passed into an array access should
be sign-extended on 64-bit platforms before being used to
index into memory. Otherwise, garbage in the upper 32-bits
may result in a segmentation fault.
Minor fix to DoFlooringDivI to enforce 32-bit operations for calculation.
R=jyan@ca.ibm.com,michael_dawson@ca.ibm.com,mbrandy@us.ibm.com
BUG=
Committed: https://crrev.com/bdcefb9dc1ed225dfc3b3562d1d32458e13f342e
Cr-Commit-Position: refs/heads/master@{#35000}
Patch Set 1 #
Messages
Total messages: 13 (6 generated)
|