Fix uninitialized value bug causing crashes throughout the code
- Resolves: rhbz#804783 - [abrt] Segfault during LDAP 'services' lookup
This commit is contained in:
parent
8c71823719
commit
af80d0ea8a
25
0001-Fix-uninitialized-variable.patch
Normal file
25
0001-Fix-uninitialized-variable.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From b3671769f57521c4eeef850a4963e320f170082c Mon Sep 17 00:00:00 2001
|
||||
From: Jakub Hrozek <jhrozek@redhat.com>
|
||||
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
|
||||
|
@ -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 <sgallagh@redhat.com> - 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 <sgallagh@redhat.com> - 1.8.1-7
|
||||
- New upstream release 1.8.1
|
||||
- Resolve issue where we could enter an infinite loop trying to connect to an
|
||||
|
Loading…
Reference in New Issue
Block a user