diff options
author | Vladimir Marko <vmarko@google.com> | 2020-11-12 15:18:40 +0000 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2020-12-08 09:30:43 +0000 |
commit | d0b940349294a363e6d578adf58db8222c425669 (patch) | |
tree | ee35d12c553f9865f0ed4574213872534cb1e2d1 /test/ProfileTestMultiDex/Main.java | |
parent | 09e3f1323f656e3a4f922c6367c6082a624d6a5b (diff) |
Validate input of JNI::NewStringUTF().
Do a minimal validation needed to construct valid strings.
If the validation fails, replace invalid sequences with '?'.
(cherry picked from commit 7dd48b90bd0968375cba8dffa2141cc9973329f9)
Test: Additional tests in JniInternalTest.NewStringUTF
Test: m test-art-host-gtest
Bug: 172655291
Merged-In: Ica2c5c33f981cbd2f07e7990b3e321cd3b7473b6
Change-Id: I683c142fe5972599297d604f775bb8cfe6154bb7
Diffstat (limited to 'test/ProfileTestMultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions