diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-03-07 06:22:35 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:10:59 -0500 |
commit | 1d5ed2bde9a67083c9b73c7eb6fb966c0e824ab2 (patch) | |
tree | 31c52136177172d27c26045d5bd401edb68e43fb /source3/nsswitch | |
parent | 0382d3c26b004ff4f850e6d683fccc3c55f77641 (diff) | |
download | samba-1d5ed2bde9a67083c9b73c7eb6fb966c0e824ab2.tar.gz samba-1d5ed2bde9a67083c9b73c7eb6fb966c0e824ab2.tar.bz2 samba-1d5ed2bde9a67083c9b73c7eb6fb966c0e824ab2.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
(This used to be commit 3f671033bca7a025f9639728a0a0a0adede6ed35)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r-- | source3/nsswitch/winbindd_pam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_pam.c b/source3/nsswitch/winbindd_pam.c index dc8a5c47d9..f72c442e8b 100644 --- a/source3/nsswitch/winbindd_pam.c +++ b/source3/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'; |