diff options
author | Narayan Kamath <narayan@google.com> | 2015-05-06 14:55:43 +0100 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2015-05-07 11:22:36 +0100 |
commit | 3ba8671d60061359fd833f60f7a9dca14878cc0b (patch) | |
tree | 47cc0f1c2aeb9bb9c4a5878297c075fbcbe3fd38 /compiler/dex/compiler_enums.h | |
parent | 5c8fe3028655b2f1fcab77080272f071cc0d8bc4 (diff) | |
download | android_art-3ba8671d60061359fd833f60f7a9dca14878cc0b.tar.gz android_art-3ba8671d60061359fd833f60f7a9dca14878cc0b.tar.bz2 android_art-3ba8671d60061359fd833f60f7a9dca14878cc0b.zip |
Fix broken checks in IsValidPartOfMemberNameUtf8Slow.
GetUtf16FromUtf8 returns a surrogate pair only if it encounters
a 4-byte UTF sequence. Three byte UTF sequences will only return the
first or second half of a pair so we need to check for that
explicitly.
bug: 20844537
Change-Id: Icb660fae77ac8a852fc768e6c1cd5766117e68e4
Diffstat (limited to 'compiler/dex/compiler_enums.h')
0 files changed, 0 insertions, 0 deletions