From de5dcfd8e6a8aabd2064cbb86e6c2a3f304b1ca5 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Mon, 13 Feb 2012 09:14:22 -0500 Subject: Fix uninitialized value error in proxy provider Coverity #12467 --- src/providers/proxy/proxy_id.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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') { -- cgit