commit | b78bfeea4526a286ab7cf4874759be8e0d1daeba | [log] [tgz] |
---|---|---|
author | Alex Light <allight@google.com> | Mon Aug 31 12:56:28 2020 -0700 |
committer | Treehugger Robot <treehugger-gerrit@google.com> | Wed Sep 02 18:48:13 2020 +0000 |
tree | 78a4954878666e18d0bb8f7f8f7ea2db6aa10ea2 | |
parent | 0d47a82b11ea666fc3ef971b32be5a03ffadc452 [diff] |
Ensure GetStringUTFRegion is null-terminated Null terminate GetStringUTFRegion results. This should help prevent some types of bugs in JNI. This changes behavior to match what is observed on the RI. Test: ./test.py Bug: 166834353 Change-Id: Ifee6ea2d10ffb7501fc7f141f6da7dc08214fd23