Uninitialized access in libcharset
I'm experimenting with meson's -Db_sanitize=memory
option for libipuz, and I'm getting a bunch of these in the test suite:
Uninitialized bytes in __interceptor_fopen64 at offset 0 inside [0x702000000120, 25)
==7698==WARNING: MemorySanitizer: use-of-uninitialized-value
#0 0x7fc71d505514 in _g_locale_get_charset_aliases /usr/src/debug/glib2-2.74.7-2.fc37.x86_64/redhat-linux-build/../glib/libcharset/localcharset.c:137:38
#1 0x7fc71d4934fd in _g_locale_get_charset_aliases /usr/src/debug/glib2-2.74.7-2.fc37.x86_64/redhat-linux-build/../glib/libcharset/localcharset.c:112:6
#2 0x7fc71d4934fd in _g_locale_charset_unalias /usr/src/debug/glib2-2.74.7-2.fc37.x86_64/redhat-linux-build/../glib/libcharset/localcharset.c:444:18
#3 0x7fc71d4934fd in g_utf8_get_charset_internal /usr/src/debug/glib2-2.74.7-2.fc37.x86_64/redhat-linux-build/../glib/gcharset.c:137:13
#4 0x7fc71d49371f in g_get_charset /usr/src/debug/glib2-2.74.7-2.fc37.x86_64/redhat-linux-build/../glib/gcharset.c:222:24
#5 0x7fc71d4bcdd5 /usr/src/debug/glib2-2.74.7-2.fc37.x86_64/redhat-linux-build/../glib/gmessages.c:3349:7
#6 0x7fc71d4c1251 in g_print /usr/src/debug/glib2-2.74.7-2.fc37.x86_64/redhat-linux-build/../glib/gmessages.c:3408:5
#7 0x7fc71d4db0e8 in g_test_log /usr/src/debug/glib2-2.74.7-2.fc37.x86_64/redhat-linux-build/../glib/gtestutils.c:996:9
#8 0x7fc71d4dc9c5 in g_test_init /usr/src/debug/glib2-2.74.7-2.fc37.x86_64/redhat-linux-build/../glib/gtestutils.c:1736:3
#9 0x4ad21a in main /srv/project/_build/../libipuz/tests/style.c:94:3
#10 0x7fc71d17d54f in __libc_start_call_main (/lib64/libc.so.6+0x2754f) (BuildId: 0dc6d3e329f8bf5e8c1de63c4c9d560fb9953ade)
#11 0x7fc71d17d608 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x27608) (BuildId: 0dc6d3e329f8bf5e8c1de63c4c9d560fb9953ade)
#12 0x41e554 in _start (/srv/project/_build/libipuz/tests/style+0x41e554) (BuildId: c5515b1facc89f70df521d894b95ac080ab41af1)
SUMMARY: MemorySanitizer: use-of-uninitialized-value /usr/src/debug/glib2-2.74.7-2.fc37.x86_64/redhat-linux-build/../glib/libcharset/localcharset.c:137:38 in _g_locale_get_charset_aliases
Do you know what that's about?