diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2013-07-25 13:14:10 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-07-25 17:43:05 +0200 |
commit | 73e0e5fc1058e3e2c717c97035e8a378d090db69 (patch) | |
tree | ee8b3fc556c7ff14833c8409570ca51058b75c86 | |
parent | 898c4f965aeea2aa029ad56b9e9f48abce17a582 (diff) | |
download | sssd-73e0e5fc1058e3e2c717c97035e8a378d090db69.tar.gz sssd-73e0e5fc1058e3e2c717c97035e8a378d090db69.tar.bz2 sssd-73e0e5fc1058e3e2c717c97035e8a378d090db69.zip |
Prevent using uninitialized "group_name" in done section.
Coverity ID: 11927
-rw-r--r-- | src/providers/ldap/sdap_async_groups.c | 2 |
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 aa30cd0b..9f667320 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; |