summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-04-16 11:54:24 -0700
committerDan Albert <danalbert@google.com>2015-04-17 10:23:55 -0700
commitc9d185d2b4ac045840586d3a890eab61c922379f (patch)
treefcd621ffa8bd526ab6eddc372d951102aa4a1ec0 /compiler/optimizing/graph_visualizer.cc
parente50dffa29fb6c67eba44e267aa890d35712de9dd (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