summaryrefslogtreecommitdiff
path: root/src/providers/proxy
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2012-02-13 09:14:22 -0500
committerStephen Gallagher <sgallagh@redhat.com>2012-02-13 11:54:53 -0500
commitde5dcfd8e6a8aabd2064cbb86e6c2a3f304b1ca5 (patch)
tree6869a6ffa340e77e0976010f8c3b84f9c250c791 /src/providers/proxy
parentd57dd0667b97a47b8db36d1ff6a28ae57d512f53 (diff)
downloadsssd-de5dcfd8e6a8aabd2064cbb86e6c2a3f304b1ca5.tar.gz
sssd-de5dcfd8e6a8aabd2064cbb86e6c2a3f304b1ca5.tar.bz2
sssd-de5dcfd8e6a8aabd2064cbb86e6c2a3f304b1ca5.zip
Fix uninitialized value error in proxy provider
Coverity #12467
Diffstat (limited to 'src/providers/proxy')
-rw-r--r--src/providers/proxy/proxy_id.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/proxy/proxy_id.c b/src/providers/proxy/proxy_id.c
index 206af294..ca647f89 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') {