Blame SOURCES/0015-ci-sssd.supp-getpwuid-leak-suppression.patch

5fca41
From 2dbfa995e592329470f57f456a054f845a9a3da3 Mon Sep 17 00:00:00 2001
5fca41
From: Alexey Tikhonov <atikhono@redhat.com>
5fca41
Date: Mon, 1 Apr 2019 16:44:26 +0200
5fca41
Subject: [PATCH 15/15] ci/sssd.supp: getpwuid() leak suppression
5fca41
5fca41
Supresses following error:
5fca41
 4,096 bytes in 1 blocks are definitely lost in loss record 67 of 83
5fca41
    at 0x4C2CDCB: malloc (vg_replace_malloc.c:299)
5fca41
    by 0xB8F8627: ???
5fca41
    by 0xB91EF3F: ???
5fca41
    by 0xB90E112: ???
5fca41
    by 0x9992974: getpwuid_r@@GLIBC_2.2.5 (in /usr/lib64/libc-2.26.so)
5fca41
    by 0x99920D7: getpwuid (in /usr/lib64/libc-2.26.so)
5fca41
5fca41
This https://sourceware.org/bugzilla/show_bug.cgi?id=2314#c8 might
5fca41
be related.
5fca41
5fca41
This problem seems to be afecting Fedora < F28
5fca41
5fca41
(cherry picked from commit 9eb8b784d4365b846f1a620f11632099d10de2c8)
5fca41
5fca41
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
5fca41
---
5fca41
 contrib/ci/sssd.supp | 13 +++++++++++++
5fca41
 1 file changed, 13 insertions(+)
5fca41
5fca41
diff --git a/contrib/ci/sssd.supp b/contrib/ci/sssd.supp
5fca41
index 4303eed22..0bef4fa90 100644
5fca41
--- a/contrib/ci/sssd.supp
5fca41
+++ b/contrib/ci/sssd.supp
5fca41
@@ -221,3 +221,16 @@
5fca41
    fun:set_default_locale
5fca41
    fun:main
5fca41
 }
5fca41
+
5fca41
+# glibc nsswitch (getpwuid) leak
5fca41
+# Seems to be affecting Fedora < F28
5fca41
+{
5fca41
+   glibc-nss-getpwuid
5fca41
+   Memcheck:Leak
5fca41
+   fun:malloc
5fca41
+   ...
5fca41
+   fun:getpwuid_r@@GLIBC_2.2.5
5fca41
+   fun:getpwuid
5fca41
+   ...
5fca41
+   fun:main
5fca41
+}
5fca41
-- 
5fca41
2.19.1
5fca41