From 24ec28a9a64b485bd71e14ae18bf64afe93d312e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Wed, 24 Jul 2024 10:44:03 +0200 Subject: [PATCH] tools/glib.supp: Ignore valgrind false-positive error on wcsxfrm See: https://gitlab.gnome.org/GNOME/glib/-/issues/3292 --- tools/glib.supp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tools/glib.supp b/tools/glib.supp index 6820e41c9..5c3740574 100644 --- a/tools/glib.supp +++ b/tools/glib.supp @@ -1322,3 +1322,13 @@ fun:g_rw_lock_writer_lock fun:g_log_writer_default_set_debug_domains } + +# This can be removed when versions of valgrind including the fix are widely used. +# See https://gitlab.gnome.org/GNOME/glib/-/issues/3292 +{ + g_utf8_collate_key wcsxfrm false-positive + Memcheck:Addr32 + ... + fun:wcsxfrm* + fun:g_utf8_collate_key +}