diff options
| author | Alex Light <allight@google.com> | 2020-08-31 12:56:28 -0700 |
|---|---|---|
| committer | Treehugger Robot <treehugger-gerrit@google.com> | 2020-09-02 18:48:13 +0000 |
| commit | b78bfeea4526a286ab7cf4874759be8e0d1daeba (patch) | |
| tree | 78a4954878666e18d0bb8f7f8f7ea2db6aa10ea2 /libnativebridge/tests/CodeCacheStatFail_test.cpp | |
| 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
Diffstat (limited to 'libnativebridge/tests/CodeCacheStatFail_test.cpp')
0 files changed, 0 insertions, 0 deletions
