Pushed to master and sssd-1-8 under the one-liner rule.
From 449f0c6c2a67f5fecf786a480578bba3b6d5f2aa Mon Sep 17 00:00:00 2001
From: Stephen Gallagher <[email protected]>
Date: Mon, 12 Mar 2012 10:32:13 -0400
Subject: [PATCH] IPA: Initialize hbac_ctx to NULL

---
 src/providers/ipa/ipa_access.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/providers/ipa/ipa_access.c b/src/providers/ipa/ipa_access.c
index 5a967a4d87c3a2e550d4b3612fd2521259711301..be478c5f1af58646fe48a836511541be5176acca 100644
--- a/src/providers/ipa/ipa_access.c
+++ b/src/providers/ipa/ipa_access.c
@@ -106,7 +106,7 @@ static void ipa_hbac_check(struct tevent_req *req)
 {
     struct be_req *be_req;
     struct pam_data *pd;
-    struct hbac_ctx *hbac_ctx;
+    struct hbac_ctx *hbac_ctx = NULL;
     const char *deny_method;
     int pam_status = PAM_SYSTEM_ERR;
     struct ipa_access_ctx *ipa_access_ctx;
-- 
1.7.7.6

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
sssd-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/sssd-devel

Reply via email to