瀏覽代碼

fxt: Ignore valgrind false positive

gcc inlines strncmp which aggressively reads in the buffer way beyond
the terminating \0
Samuel Thibault 4 年之前
父節點
當前提交
a3ef913179
共有 1 個文件被更改,包括 8 次插入0 次删除
  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
+}