diff options
author | Nick Guay <nguay@redhat.com> | 2012-07-18 11:55:35 -0400 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2012-07-18 20:07:45 +0200 |
commit | 8bbf89c5ab798c112773fe23515c3a9df56dde71 (patch) | |
tree | d25ac1f047e70fd01d4c636d9cc743ffeddaa0e9 /src/providers/ipa | |
parent | cd52ba11971c5bbfd2fdfc114b0f1c66caa512bf (diff) | |
download | sssd-8bbf89c5ab798c112773fe23515c3a9df56dde71.tar.gz sssd-8bbf89c5ab798c112773fe23515c3a9df56dde71.tar.xz sssd-8bbf89c5ab798c112773fe23515c3a9df56dde71.zip |
Fix uninitialized values
https://fedorahosted.org/sssd/ticket/1379
Diffstat (limited to 'src/providers/ipa')
-rw-r--r-- | src/providers/ipa/ipa_session.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/providers/ipa/ipa_session.c b/src/providers/ipa/ipa_session.c index 38f0acd74..3a87e957c 100644 --- a/src/providers/ipa/ipa_session.c +++ b/src/providers/ipa/ipa_session.c @@ -102,12 +102,12 @@ static void ipa_session_handler_done(struct tevent_req *req) struct be_req *breq = tevent_req_callback_data(req, struct be_req); struct sysdb_ctx *sysdb = breq->be_ctx->sysdb; errno_t ret, sret; - size_t map_count; - struct sysdb_attrs **maps; + size_t map_count = 0; + struct sysdb_attrs **maps = NULL; bool in_transaction = false; - char *default_user; + char *default_user = NULL; struct pam_data *pd = talloc_get_type(breq->req_data, struct pam_data); - char *map_order; + char *map_order = NULL; ret = ipa_get_selinux_recv(req, breq, &map_count, &maps, &default_user, &map_order); |