commit | c2b35d2501243332bf5423707e871bae532ddc52 | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Thu Aug 27 11:09:29 2015 +0100 |
committer | Vladimir Marko <vmarko@google.com> | Thu Aug 27 11:25:51 2015 +0100 |
tree | 9d8f0e585601b92ce3105a307cab40476a5ff3f4 | |
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