From af80d0ea8a1e22c3161b011f1db391f14b4886af Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Mar 21 2012 11:36:22 +0000 Subject: Fix uninitialized value bug causing crashes throughout the code - Resolves: rhbz#804783 - [abrt] Segfault during LDAP 'services' lookup --- diff --git a/0001-Fix-uninitialized-variable.patch b/0001-Fix-uninitialized-variable.patch new file mode 100644 index 0000000..5cd52ce --- /dev/null +++ b/0001-Fix-uninitialized-variable.patch @@ -0,0 +1,25 @@ +From b3671769f57521c4eeef850a4963e320f170082c Mon Sep 17 00:00:00 2001 +From: Jakub Hrozek +Date: Fri, 16 Mar 2012 09:36:38 -0400 +Subject: [PATCH] Fix uninitialized variable + +--- + src/providers/ldap/ldap_common.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/src/providers/ldap/ldap_common.c b/src/providers/ldap/ldap_common.c +index d5dc4a0af5590bbe6f8d474095c6094582deb542..949244183c0db7b8e576c7b3c5e63e2bb35cb39f 100644 +--- a/src/providers/ldap/ldap_common.c ++++ b/src/providers/ldap/ldap_common.c +@@ -1598,7 +1598,7 @@ errno_t list_missing_attrs(TALLOC_CTX *mem_ctx, + } + + if (k == 0) { +- *missing = NULL; ++ *missing_attrs = NULL; + } else { + /* Terminate the list */ + missing[k] = NULL; +-- +1.7.7.6 + diff --git a/sssd.spec b/sssd.spec index 2dd5fd4..3291769 100644 --- a/sssd.spec +++ b/sssd.spec @@ -16,7 +16,7 @@ Name: sssd Version: 1.8.1 -Release: 7%{?dist} +Release: 8%{?dist} Group: Applications/System Summary: System Security Services Daemon License: GPLv3+ @@ -26,6 +26,8 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) ### Patches ### +Patch0001: 0001-Fix-uninitialized-variable.patch + Patch1001: FED01-Change-Kerberos-credential-cache-default-loca.patch ### Dependencies ### @@ -440,6 +442,10 @@ fi %postun -n libipa_hbac -p /sbin/ldconfig %changelog +* Wed Mar 21 2012 Stephen Gallagher - 1.8.1-8 +- Fix uninitialized value bug causing crashes throughout the code +- Resolves: rhbz#804783 - [abrt] Segfault during LDAP 'services' lookup + * Mon Mar 12 2012 Stephen Gallagher - 1.8.1-7 - New upstream release 1.8.1 - Resolve issue where we could enter an infinite loop trying to connect to an