=================================================================
==13559==ERROR: AddressSanitizer: global-buffer-overflow on address 0x000000427103 at pc 0x7f1c8ca259fc bp 0x7ffe93d3cce0 sp 0x7ffe93d3ccd0
READ of size 1 at 0x000000427103 thread T0
    #0 0x7f1c8ca259fb in token_stream_prepare /mnt/ram/glib/glib/gvariant-parser.c:240
    #1 0x7f1c8ca2dedf in parse /mnt/ram/glib/glib/gvariant-parser.c:2256
    #2 0x7f1c8ca2e9ca in g_variant_new_parsed_va /mnt/ram/glib/glib/gvariant-parser.c:2463
    #3 0x7f1c8ca2ec75 in g_variant_new_parsed /mnt/ram/glib/glib/gvariant-parser.c:2526
    #4 0x4189e0 in test_parse_bad_format_char /mnt/ram/glib/glib/tests/gvariant.c:3919
    #5 0x7f1c8c9e1fe8 in test_case_run /mnt/ram/glib/glib/gtestutils.c:2158
    #6 0x7f1c8c9e2768 in g_test_run_suite_internal /mnt/ram/glib/glib/gtestutils.c:2241
    #7 0x7f1c8c9e289d in g_test_run_suite_internal /mnt/ram/glib/glib/gtestutils.c:2253
    #8 0x7f1c8c9e289d in g_test_run_suite_internal /mnt/ram/glib/glib/gtestutils.c:2253
    #9 0x7f1c8c9e289d in g_test_run_suite_internal /mnt/ram/glib/glib/gtestutils.c:2253
    #10 0x7f1c8c9e2c3d in g_test_run_suite /mnt/ram/glib/glib/gtestutils.c:2325
    #11 0x7f1c8c9e0b0e in g_test_run /mnt/ram/glib/glib/gtestutils.c:1596
    #12 0x41c652 in main /mnt/ram/glib/glib/tests/gvariant.c:4595
    #13 0x7f1c8bdb062f in __libc_start_main (/lib64/libc.so.6+0x2062f)
    #14 0x405318 in _start (/mnt/ram/glib/glib/tests/.libs/gvariant+0x405318)

0x000000427103 is located 61 bytes to the left of global variable '*.LC558' from 'gvariant.c' (0x427140) of size 10
  '*.LC558' is ascii string 'uint32 %i'
0x000000427103 is located 0 bytes to the right of global variable '*.LC557' from 'gvariant.c' (0x427100) of size 3
  '*.LC557' is ascii string '%z'
SUMMARY: AddressSanitizer: global-buffer-overflow /mnt/ram/glib/glib/gvariant-parser.c:240 token_stream_prepare
Shadow bytes around the buggy address:
  0x00008007cdd0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x00008007cde0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x00008007cdf0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x00008007ce00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x00008007ce10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=>0x00008007ce20:[03]f9 f9 f9 f9 f9 f9 f9 00 02 f9 f9 f9 f9 f9 f9
  0x00008007ce30: 04 f9 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9
  0x00008007ce40: 00 00 00 00 05 f9 f9 f9 f9 f9 f9 f9 00 00 00 00
  0x00008007ce50: 07 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 05 f9 f9 f9
  0x00008007ce60: f9 f9 f9 f9 06 f9 f9 f9 f9 f9 f9 f9 00 00 00 00
  0x00008007ce70: 00 00 07 f9 f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07 
  Heap left redzone:       fa
  Heap right redzone:      fb
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack partial redzone:   f4
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Contiguous container OOB:fc
  ASan internal:           fe
==13559==ABORTING
