dpward / rpms / sssd

Forked from rpms/sssd 3 years ago
Clone

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

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