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:53:19 +0000 |
commit | 1358c9faa9766fd470ab2ba002a73479ccf54154 (patch) | |
tree | 3413198e9eb5d822e080d142a940f062e0b20ff2 /test/ProfileTestMultiDex/Second.java | |
parent | 097a32c3f0de6645b3f9a59d3c0179fb3fa7d934 (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 d0b940349294a363e6d578adf58db8222c425669)
Test: Additional tests in JniInternalTest.NewStringUTF
Test: m test-art-host-gtest
Bug: 172655291
Merged-In: I683c142fe5972599297d604f775bb8cfe6154bb7
Merged-In: Ica2c5c33f981cbd2f07e7990b3e321cd3b7473b6
Change-Id: Ieda5a89b738bbb624872512a400855866e120acd
Diffstat (limited to 'test/ProfileTestMultiDex/Second.java')
0 files changed, 0 insertions, 0 deletions