From b8c8811ea02d1d80faa0d0564cd1f464633a9c58 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Feb 13 2012 16:54:57 +0000 Subject: Fix uninitialized value error in proxy provider Coverity #12467 --- diff --git a/src/providers/proxy/proxy_id.c b/src/providers/proxy/proxy_id.c index 206af29..ca647f8 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') {