summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorPale Moon <git-repo@palemoon.org>2018-02-20 20:50:44 +0100
committerPale Moon <git-repo@palemoon.org>2018-02-20 20:50:44 +0100
commit7f85e40d0f11f4b1c4ba8236d6d202f24efe6bdf (patch)
treee3b317af108007309d4082ffc665a3e397e40088 /build
parent11cc18496f5c4235f18c67355d15f9da6849ce54 (diff)
downloadpalemoon-gre-7f85e40d0f11f4b1c4ba8236d6d202f24efe6bdf.tar.gz
Issue #1610 part 1: Add valgrind suppression for uninitialized memory access and leak in old fontconfig.
Diffstat (limited to 'build')
-rw-r--r--build/valgrind/x86_64-redhat-linux-gnu.sup24
1 files changed, 24 insertions, 0 deletions
diff --git a/build/valgrind/x86_64-redhat-linux-gnu.sup b/build/valgrind/x86_64-redhat-linux-gnu.sup
index 17c2ad472..51bca412c 100644
--- a/build/valgrind/x86_64-redhat-linux-gnu.sup
+++ b/build/valgrind/x86_64-redhat-linux-gnu.sup
@@ -71,6 +71,30 @@
fun:gdk_display_open
...
}
+# With older versions of fontconfig (e.g. 2.8.0 on taskcluster systems),
+# there's an uninitialized memory usage and leak when loading app fonts.
+{
+ Bug 1231701
+ Memcheck:Param
+ write(buf)
+ ...
+ fun:FcDirCacheWrite
+ fun:FcDirCacheScan
+ fun:FcConfigAddDirList
+ fun:FcConfigAppFontAddDir
+ ...
+}
+{
+ Bug 1231701
+ Memcheck:Leak
+ match-leak-kinds: definite
+ fun:malloc
+ fun:FcDirScanConfig
+ fun:FcDirCacheScan
+ fun:FcConfigAddDirList
+ fun:FcConfigAppFontAddDir
+ ...
+}
###################################
# Leaks in short lived precesses #