GBookmarkFile: heap-buffer-overflow in g_utf8_get_char
==311==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x602000005e57
READ of size 1 at 0x602000005e57 thread T0
SCARINESS: 12 (1-byte-read-heap-buffer-overflow)
#0 0x62f9eb in g_utf8_get_char glib/gutf8.c:323:3
#1 0x5ef9f5 in utf8_str glib/gmarkup.c:564:13
#2 0x5edc95 in g_markup_parse_context_parse glib/gmarkup.c:1421:30
#3 0x5bee6e in g_bookmark_file_parse glib/gbookmarkfile.c:1423:12
#4 0x5bebca in g_bookmark_file_load_from_data glib/gbookmarkfile.c:1649:12
Edited by Philip Withnall