summaryrefslogtreecommitdiffstats
path: root/source/nsswitch/winbindd_pam.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-03-07 06:22:35 +0000
committerVolker Lendecke <vlendec@samba.org>2006-03-07 06:22:35 +0000
commitd3cdea0347ce7df85cc273f687617be3aa960e8c (patch)
treeabf5f0b5a05e7d9ebda6838f27f69fa3a6da782a /source/nsswitch/winbindd_pam.c
parent9d7ed23bf013f77d7aca009209122d68ddff1e96 (diff)
downloadsamba-d3cdea0347ce7df85cc273f687617be3aa960e8c.tar.gz
samba-d3cdea0347ce7df85cc273f687617be3aa960e8c.tar.xz
samba-d3cdea0347ce7df85cc273f687617be3aa960e8c.zip
r13914: Fix Coverity bug #151.
I think this is actually a false warning, but as I've seen it with high gcc warning levels, lets fix it :-) Volker
Diffstat (limited to 'source/nsswitch/winbindd_pam.c')
-rw-r--r--source/nsswitch/winbindd_pam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nsswitch/winbindd_pam.c b/source/nsswitch/winbindd_pam.c
index dc8a5c47d99..f72c442e8bb 100644
--- a/source/nsswitch/winbindd_pam.c
+++ b/source/nsswitch/winbindd_pam.c
@@ -1062,7 +1062,7 @@ enum winbindd_result winbindd_dual_pam_auth(struct winbindd_domain *domain,
{
NTSTATUS result = NT_STATUS_LOGON_FAILURE;
fstring name_domain, name_user;
- NET_USER_INFO_3 *info3;
+ NET_USER_INFO_3 *info3 = NULL;
/* Ensure null termination */
state->request.data.auth.user[sizeof(state->request.data.auth.user)-1]='\0';