]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Add new helgrind race suppression for pth_mempcpy_false_races
authorMark Wielaard <mark@klomp.org>
Fri, 12 Apr 2024 13:18:51 +0000 (15:18 +0200)
committerMark Wielaard <mark@klomp.org>
Fri, 12 Apr 2024 13:23:36 +0000 (15:23 +0200)
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

glibc-2.X-helgrind.supp.in

index 2b576b982e425abfb9bb89e56c1b99df57b46664..dce611a09e3885b4c27c7da1ae8c2258d264b40d 100644 (file)
    fun:__printf_buffer_write
 }
 
+{
+   helgrind-glibc-__printf_buffer_write2
+   Helgrind:Race
+   fun:*memmove*
+   ...
+   fun:__printf_buffer_write
+}
+
 {
    helgrind-glibc2X-005
    Helgrind:Race