diff options
author | Vladimir Marko <vmarko@google.com> | 2015-08-27 11:09:29 +0100 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2015-08-27 11:25:51 +0100 |
commit | c2b35d2501243332bf5423707e871bae532ddc52 (patch) | |
tree | 9d8f0e585601b92ce3105a307cab40476a5ff3f4 /compiler/optimizing/graph_visualizer.cc | |
parent | 772cc4a2d4f978888d1b1e5a78c1c16a108260ed (diff) |
ART: Add zero-padding to allocation request for String.
Also make the signed-to-unsigned conversion of utf16_length
in String::Alloc() explicit and make the overflow check take
into account the oveflow in the multiplication by
sizeof(uint16_t), i.e. being passed a negative utf16_length.
Bug: 23528461
Change-Id: Ia5844ea79f8f12e897f52fa27b0984358e3dea0b
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions