summaryrefslogtreecommitdiff
path: root/utils/valgrind.supp
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2010-02-11 00:23:59 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2010-02-11 00:23:59 +0000
commit160c5de28324e4dcf71467abc196ea125e464768 (patch)
tree357a0821760b2f67774fe5b7e4a24105d1d0f036 /utils/valgrind.supp
parentc1e7429d58093a640f66090e679203c2c084d863 (diff)
downloadnetsurf-160c5de28324e4dcf71467abc196ea125e464768.tar.gz
Valgrind suppressions file
svn path=/trunk/netsurf/; revision=9967
Diffstat (limited to 'utils/valgrind.supp')
-rw-r--r--utils/valgrind.supp14
1 files changed, 14 insertions, 0 deletions
diff --git a/utils/valgrind.supp b/utils/valgrind.supp
new file mode 100644
index 000000000..f1a27f4b4
--- /dev/null
+++ b/utils/valgrind.supp
@@ -0,0 +1,14 @@
+# Valgrind suppression file for NetSurf
+
+# Suppress a valgrind message about use of uninitialized memory in strchrnul().
+# This use is OK because it provides only a speedup.
+{
+ strchrnul-addr4
+ Memcheck:Addr4
+ fun:strchrnul
+}
+{
+ strchrnul-addr8
+ Memcheck:Addr8
+ fun:strchrnul
+}