From: Mark Wielaard Date: Fri, 12 Apr 2024 13:18:51 +0000 (+0200) Subject: Add new helgrind race suppression for pth_mempcpy_false_races X-Git-Tag: VALGRIND_3_23_0~61 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f47109d30ca319a3bcd4288803e30a473d1506d2;p=thirdparty%2Fvalgrind.git Add new helgrind race suppression for pth_mempcpy_false_races In glibc 2.39+ the internal __printf_buffer_write might use memmove instead of a memcpy variant. Add an extra suppression variant using memmove. This makes pth_mempcpy_false_races pass again. See also https://bugs.kde.org/show_bug.cgi?id=450962 --- diff --git a/glibc-2.X-helgrind.supp.in b/glibc-2.X-helgrind.supp.in index 2b576b982..dce611a09 100644 --- a/glibc-2.X-helgrind.supp.in +++ b/glibc-2.X-helgrind.supp.in @@ -63,6 +63,14 @@ fun:__printf_buffer_write } +{ + helgrind-glibc-__printf_buffer_write2 + Helgrind:Race + fun:*memmove* + ... + fun:__printf_buffer_write +} + { helgrind-glibc2X-005 Helgrind:Race