summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2012-03-12 10:32:13 -0400
committerStephen Gallagher <sgallagh@redhat.com>2012-03-12 10:32:43 -0400
commit158aff60c94aa72a925b766fb33c4117a959970b (patch)
treefcc2d72fd30f19057340f26767a92d58e67014bd
parente92121354bcc2b2e85b91f5dfdaafec476d0d617 (diff)
downloadsssd-158aff60c94aa72a925b766fb33c4117a959970b.tar.gz
sssd-158aff60c94aa72a925b766fb33c4117a959970b.tar.bz2
sssd-158aff60c94aa72a925b766fb33c4117a959970b.zip
IPA: Initialize hbac_ctx to NULL
-rw-r--r--src/providers/ipa/ipa_access.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ipa/ipa_access.c b/src/providers/ipa/ipa_access.c
index 5a967a4d..be478c5f 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;