dpward / rpms / sssd

Forked from rpms/sssd 3 years ago
Clone

Blame SOURCES/0195-IPA-make-sure-output-variable-is-set.patch

b725e7
From 9a12e4166ff96b659bd6bfd606ba7de87a9e95d3 Mon Sep 17 00:00:00 2001
b725e7
From: Sumit Bose <sbose@redhat.com>
b725e7
Date: Thu, 19 Mar 2015 14:26:26 +0100
b725e7
Subject: [PATCH 195/196] IPA: make sure output variable is set
b725e7
b725e7
Reviewed-by: Pavel Reichl <preichl@redhat.com>
b725e7
(cherry picked from commit abb093b4ae10f2a5748bf9f194bf76794002eba0)
b725e7
---
b725e7
 src/providers/ipa/ipa_s2n_exop.c | 4 +++-
b725e7
 1 file changed, 3 insertions(+), 1 deletion(-)
b725e7
b725e7
diff --git a/src/providers/ipa/ipa_s2n_exop.c b/src/providers/ipa/ipa_s2n_exop.c
b725e7
index f546067fae4ff45f976885f3b650866b292a3b8a..7e2b70b953075d33df10ea614c55ce5d25f49b9b 100644
b725e7
--- a/src/providers/ipa/ipa_s2n_exop.c
b725e7
+++ b/src/providers/ipa/ipa_s2n_exop.c
b725e7
@@ -1244,7 +1244,9 @@ static errno_t process_members(struct sss_domain_info *domain,
b725e7
 
b725e7
     if (members == NULL) {
b725e7
         DEBUG(SSSDBG_TRACE_INTERNAL, "No members\n");
b725e7
-        *_missing_members = NULL;
b725e7
+        if (_missing_members != NULL) {
b725e7
+            *_missing_members = NULL;
b725e7
+        }
b725e7
         return EOK;
b725e7
     }
b725e7
 
b725e7
-- 
b725e7
2.1.0
b725e7