diff options
author | Benjamin Berg <bberg@redhat.com> | 2019-02-05 19:07:16 +0100 |
---|---|---|
committer | Benjamin Berg <bberg@redhat.com> | 2019-02-05 19:48:19 +0100 |
commit | 9e070fc5da9d0a020ef5f5b4da84b9cbce73cbd7 (patch) | |
tree | 38416088a768370c47cf207d87d83de890ecc81e /NEWS | |
parent | 91c2870313317c9afb84fd55387c786274388ea2 (diff) | |
download | gnome-settings-daemon-9e070fc5da9d0a020ef5f5b4da84b9cbce73cbd7.tar.gz |
power: Add memory sanitization workaround to power enums helper
For some reason we get an error when calling g_print. This works around
the following build error:
Uninitialized bytes in __interceptor_fopen64 at offset 3 inside [0x702000000160, 18)
==30133==WARNING: MemorySanitizer: use-of-uninitialized-value
#0 0x7f9e3205ab75 in _g_locale_get_charset_aliases.part.0 /home/benjamin/.cache/jhbuild/build/glib/../../../../Projects/jhbuild/checkout/glib/glib/libcharset/localcharset.c:141:38
#1 0x7f9e3205afc4 in _g_locale_get_charset_aliases /home/benjamin/.cache/jhbuild/build/glib/../../../../Projects/jhbuild/checkout/glib/glib/libcharset/localcharset.c:448:3
#2 0x7f9e3205afc4 in _g_locale_charset_unalias /home/benjamin/.cache/jhbuild/build/glib/../../../../Projects/jhbuild/checkout/glib/glib/libcharset/localcharset.c:448:18
#3 0x7f9e31feb569 in g_utf8_get_charset_internal /home/benjamin/.cache/jhbuild/build/glib/../../../../Projects/jhbuild/checkout/glib/glib/gcharset.c:119:13
#4 0x7f9e31feb569 in g_get_charset /home/benjamin/.cache/jhbuild/build/glib/../../../../Projects/jhbuild/checkout/glib/glib/gcharset.c:204:24
#5 0x7f9e3201a007 in g_print /home/benjamin/.cache/jhbuild/build/glib/../../../../Projects/jhbuild/checkout/glib/glib/gmessages.c:3189:11
#6 0x494488 in output_flags_values /home/benjamin/Projects/jhbuild/checkout/gnome-settings-daemon/_build/../plugins/power/gsd-power-enums-update.c:26:3
#7 0x49432a in main /home/benjamin/Projects/jhbuild/checkout/gnome-settings-daemon/_build/../plugins/power/gsd-power-enums-update.c:41:2
#8 0x7f9e31bb4412 in __libc_start_main (/lib64/libc.so.6+0x24412)
#9 0x41b33d in _start (/home/benjamin/Projects/jhbuild/checkout/gnome-settings-daemon/_build/plugins/power/gsd-power-enums-update+0x41b33d)
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions