commit | 85336e30bb75a5c544d49da83d8d4e7fae5b10ff | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Wed May 06 14:55:43 2015 +0100 |
committer | The Android Automerger <android-build@google.com> | Thu May 07 11:20:36 2015 -0700 |
tree | 47cc0f1c2aeb9bb9c4a5878297c075fbcbe3fd38 | |
parent | ef1cbe7e03919bc171ff05f559c482db3dc409cf [diff] |
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