summaryrefslogtreecommitdiff
path: root/compiler/optimizing/stack_map_test.cc
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2017-02-14 17:12:20 -0800
committerMathieu Chartier <mathieuc@google.com>2017-02-15 10:30:16 -0800
commita2973d750ea2b2de20b52d364c446d8b5747d824 (patch)
tree0ee42afcc5b33a861670aa81f81b3b49a149a7e9 /compiler/optimizing/stack_map_test.cc
parentbe2cfabab221613b60c7f4cafb7eb00aa1e69d43 (diff)
Check for duplicate entries when using dexlayout
The previous approach always inserted in the CollectionMap. This did not work correctly if two different objects had the same offset. Since we constructed a unique_ptr of the object, it would simply get freed if the insert failed because there was already an object with the same offset. This meant that there were some use after free errors for these objects. Test: dexlayout -a -b hulu.apk Bug: 35305951 Change-Id: I217e6d83bf6e051b13b1a601ec25512f40593880
Diffstat (limited to 'compiler/optimizing/stack_map_test.cc')
0 files changed, 0 insertions, 0 deletions