Skip to content

Add a missing check to g_utf8_get_char_validated()

g_utf8_get_char_validated() was not exactly matching its documentation. The function was not checking if the sequence of unicode characters was free of null bytes before performing a more in-depth validation.

Fix issue #1052 (closed)

Merge request reports