commit | c84c5568a84cad72bf1aebcda2afd81e7feb71ef | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Thu Sep 08 13:52:36 2016 -0700 |
committer | Andreas Huber <andih@google.com> | Thu Sep 08 13:52:36 2016 -0700 |
tree | 17da392413e4994418fb315e7ae397f9d686e196 | |
parent | 63a07e80d6c60c86bbcd81660f9693236de5ed80 [diff] |
char16 strings returned by JNIEnv::GetStringCritical are not '\0' terminated. Properly construct String16s from both pointer and length instead. Bug: 31373735 Change-Id: Ia89df7840a48c4fce06e08fc3ae373e0fadfb44e