diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2012-02-13 09:14:22 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-02-13 11:54:53 -0500 |
commit | de5dcfd8e6a8aabd2064cbb86e6c2a3f304b1ca5 (patch) | |
tree | 6869a6ffa340e77e0976010f8c3b84f9c250c791 | |
parent | d57dd0667b97a47b8db36d1ff6a28ae57d512f53 (diff) | |
download | sssd-de5dcfd8e6a8aabd2064cbb86e6c2a3f304b1ca5.tar.gz sssd-de5dcfd8e6a8aabd2064cbb86e6c2a3f304b1ca5.tar.xz sssd-de5dcfd8e6a8aabd2064cbb86e6c2a3f304b1ca5.zip |
Fix uninitialized value error in proxy provider
Coverity #12467
-rw-r--r-- | src/providers/proxy/proxy_id.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/proxy/proxy_id.c b/src/providers/proxy/proxy_id.c index 206af294f..ca647f891 100644 --- a/src/providers/proxy/proxy_id.c +++ b/src/providers/proxy/proxy_id.c @@ -130,7 +130,7 @@ static int save_user(struct sysdb_ctx *sysdb, bool lowercase, { const char *shell; char *lower; - struct sysdb_attrs *attrs; + struct sysdb_attrs *attrs = NULL; errno_t ret; if (pwd->pw_shell && pwd->pw_shell[0] != '\0') { |