git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] refs: Fix valgrind suppression file

From
David Turner <dturner@twopensource.com>
Date
Jul 4, 2014, 20:24 UTC
Message-ID
<1404505441-1853-1-git-send-email-dturner@twitter.com>

Add all of the ways in which check_refname_format violates valgrind's expectations to the valgrind suppression file; remove an assumption about the call chain of check_refname_format from same.

Signed-off-by: David Turner <dturner@twitter.com>
---
 t/valgrind/default.supp | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/t/valgrind/default.supp b/t/valgrind/default.supp
index 332ab1a..9d51c92 100644
--- a/t/valgrind/default.supp
+++ b/t/valgrind/default.supp
@@ -50,10 +50,17 @@
 	fun:copy_ref
 }
 {
-	ignore-sse-check_refname_format
+	ignore-sse-check_refname_format-addr
 	Memcheck:Addr8
 	fun:check_refname_format
-	fun:cmd_check_ref_format
-	fun:handle_builtin
-	fun:main
+}
+{
+	ignore-sse-check_refname_format-cond
+	Memcheck:Cond
+	fun:check_refname_format
+}
+{
+	ignore-sse-check_refname_format-value
+	Memcheck:Value8
+	fun:check_refname_format
 }
-- 
2.0.0.390.gcb682f8
Next: Junio C Hamano
Message 1 of 2 in “refs: Fix valgrind suppression file”
  1. refs: Fix valgrind suppression fileDavid Turner, Jul 4, 2014
  2. Junio C HamanoJul 7, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.