commit | c9d185d2b4ac045840586d3a890eab61c922379f | [log] [tgz] |
---|---|---|
author | Dan Albert <danalbert@google.com> | Thu Apr 16 11:54:24 2015 -0700 |
committer | Dan Albert <danalbert@google.com> | Fri Apr 17 10:23:55 2015 -0700 |
tree | fcd621ffa8bd526ab6eddc372d951102aa4a1ec0 | |
parent | e50dffa29fb6c67eba44e267aa890d35712de9dd [diff] |
Fix undefined behavior in hash calculation. dex_register might be >= the width of the map hash. Shifting by that value would be undefined behavior. Constrain the value to within the valid range. Change-Id: I9037c5c7ec554850ba3385585aca96fde1d50387