summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-09-13 21:28:23 +0200
committerGünther Deschner <gd@samba.org>2009-09-13 21:32:48 +0200
commit15bbae5fd8fb966d69557c58d89730edeea0fab7 (patch)
treea178fbe945cd7e05bd9b84eb8d82e2b820e4cef7 /source3
parentf9edee119cc8c298d7c114599688c417ec78fe60 (diff)
downloadsamba-15bbae5fd8fb966d69557c58d89730edeea0fab7.tar.gz
samba-15bbae5fd8fb966d69557c58d89730edeea0fab7.tar.bz2
samba-15bbae5fd8fb966d69557c58d89730edeea0fab7.zip
s3-netlogon: Fix Coverity #945 UNINIT.
Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_netlog_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_netlog_nt.c b/source3/rpc_server/srv_netlog_nt.c
index f21c80e327..07a0b971a0 100644
--- a/source3/rpc_server/srv_netlog_nt.c
+++ b/source3/rpc_server/srv_netlog_nt.c
@@ -1150,7 +1150,7 @@ NTSTATUS _netr_LogonSamLogonEx(pipes_struct *p,
struct netr_LogonSamLogonEx *r)
{
NTSTATUS status;
- struct netlogon_creds_CredentialState *creds;
+ struct netlogon_creds_CredentialState *creds = NULL;
become_root();
status = schannel_fetch_session_key(p->mem_ctx, r->in.computer_name, &creds);