diff options
author | Andreas Huber <andih@google.com> | 2016-09-08 13:52:36 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2016-09-08 13:52:36 -0700 |
commit | c84c5568a84cad72bf1aebcda2afd81e7feb71ef (patch) | |
tree | 17da392413e4994418fb315e7ae397f9d686e196 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions