Skip to content

JNI: add wrapper to NewStringUTF for UTF safety

When calling NewStringUTF with an invalid UTF string it will abort instead of returning NULL. This wrapper checks the validity of the UTF string before calling NewStringUTF.

Edited by Duncan McNamara

Merge request reports

Loading