mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
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 3f671033bc
)
This commit is contained in:
parent
0382d3c26b
commit
1d5ed2bde9
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user