summaryrefslogtreecommitdiffstats
path: root/src
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:43:05 +0200
commit73e0e5fc1058e3e2c717c97035e8a378d090db69 (patch)
treeee8b3fc556c7ff14833c8409570ca51058b75c86 /src
parent898c4f965aeea2aa029ad56b9e9f48abce17a582 (diff)
downloadsssd-73e0e5fc1058e3e2c717c97035e8a378d090db69.tar.gz
sssd-73e0e5fc1058e3e2c717c97035e8a378d090db69.tar.xz
sssd-73e0e5fc1058e3e2c717c97035e8a378d090db69.zip
Prevent using uninitialized "group_name" in done section.
Coverity ID: 11927
Diffstat (limited to 'src')
-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 aa30cd0b5..9f667320a 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;