Parcourir la source

fxt: Ignore valgrind false positive

gcc inlines strncmp which aggressively reads in the buffer way beyond
the terminating \0
Samuel Thibault il y a 5 ans
Parent
commit
a3ef913179
1 fichiers modifiés avec 8 ajouts et 0 suppressions
  1. 8 0
      tools/dev/valgrind/fxt.suppr

+ 8 - 0
tools/dev/valgrind/fxt.suppr

@@ -48,3 +48,11 @@
    fun:fxt_setinfos
    fun:fut_setup
 }
+
+{
+   <insert_a_suppression_name_here>
+   Memcheck:Cond
+   fun:fxt_get_cpu_info
+   fun:fxt_setinfos
+   fun:fut_setup
+}