commit | 3ba8671d60061359fd833f60f7a9dca14878cc0b | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Wed May 06 14:55:43 2015 +0100 |
committer | Narayan Kamath <narayan@google.com> | Thu May 07 11:22:36 2015 +0100 |
tree | 47cc0f1c2aeb9bb9c4a5878297c075fbcbe3fd38 | |
parent | 5c8fe3028655b2f1fcab77080272f071cc0d8bc4 [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