diff options
author | Dan Albert <danalbert@google.com> | 2015-04-16 11:54:24 -0700 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2015-04-17 10:23:55 -0700 |
commit | c9d185d2b4ac045840586d3a890eab61c922379f (patch) | |
tree | fcd621ffa8bd526ab6eddc372d951102aa4a1ec0 /compiler/optimizing/graph_visualizer.cc | |
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
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions