1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

s3-netlogon: Fix Coverity #945 UNINIT.

Guenther
This commit is contained in:
Günther Deschner 2009-09-13 21:28:23 +02:00
parent f9edee119c
commit 15bbae5fd8

View File

@ -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);