mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-12-23 00:09:24 +01:00
The method was correctly returning an error from `g_data_input_stream_read_line_utf8()` if the line contained invalid UTF-8, but it wasn’t correctly setting the returned line length to 0. This could have caused problems if callers were basing subsequent logic on the length and not the return value nullness or `GError`. Signed-off-by: Philip Withnall <pwithnall@gnome.org> oss-fuzz#372819437
15 KiB
15 KiB