aboutgitcodebugslistschat
path: root/test/valgrind.supp
diff options
context:
space:
mode:
Diffstat (limited to 'test/valgrind.supp')
-rw-r--r--test/valgrind.supp9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/valgrind.supp b/test/valgrind.supp
new file mode 100644
index 0000000..1228056
--- /dev/null
+++ b/test/valgrind.supp
@@ -0,0 +1,9 @@
+# tcp_sock_consume() calls recv() with MSG_TRUNC and no buffer to discard data
+{
+ passt_recv_MSG_TRUNC_into_NULL_buffer
+ Memcheck:Param
+ socketcall.recvfrom(buf)
+ fun:recv
+ ...
+ fun:tcp_sock_consume*
+}