summaryrefslogtreecommitdiffstats
path: root/src/providers
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-07-25 13:14:10 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-07-25 17:44:10 +0200
commit134106adecb4bcc4d673caec8cc061f5305a2e2a (patch)
tree94c6667c2fd7a05bb1e029ce150cd20d70f59f02 /src/providers
parent0337b71e29c3777dff0d8f3a6fdff1be4425c0d7 (diff)
downloadsssd-134106adecb4bcc4d673caec8cc061f5305a2e2a.tar.gz
sssd-134106adecb4bcc4d673caec8cc061f5305a2e2a.tar.xz
sssd-134106adecb4bcc4d673caec8cc061f5305a2e2a.zip
Prevent using uninitialized "group_name" in done section.
Coverity ID: 11927
Diffstat (limited to 'src/providers')
-rw-r--r--src/providers/ldap/sdap_async_groups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_async_groups.c b/src/providers/ldap/sdap_async_groups.c
index a63313b83..8d4fa2bb2 100644
--- a/src/providers/ldap/sdap_async_groups.c
+++ b/src/providers/ldap/sdap_async_groups.c
@@ -428,7 +428,7 @@ static int sdap_save_group(TALLOC_CTX *memctx,
{
struct ldb_message_element *el;
struct sysdb_attrs *group_attrs;
- const char *group_name;
+ const char *group_name = NULL;
gid_t gid;
errno_t ret;
char *usn_value = NULL;