commit | 7430d794873786e57d5475de41959f5b1b7a8288 | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Thu Nov 12 15:18:40 2020 +0000 |
committer | Steven Moreland <smoreland@google.com> | Thu Nov 19 17:20:05 2020 +0000 |
tree | fab27ba37e51548528fa5df6a2ab7c460f370045 | |
parent | ec8a8fb0bc1e9bed1f69c27d00b1b0c66e78c3d0 [diff] |
Validate input of JNI::NewStringUTF(). Do a minimal validation needed to construct valid strings. If the validation fails, replace invalid sequences with '?'. Test: Additional tests in JniInternalTest.NewStringUTF Test: m test-art-host-gtest Bug: 172655291 Change-Id: Ica2c5c33f981cbd2f07e7990b3e321cd3b7473b6