From d33cd7595bc7afffec277d761d911b54e39f3dbf Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Wed, 23 Mar 2005 22:31:13 +0000 Subject: [PATCH] windows-logon-20050323 Fix initialization error when getting domain parameters --- src/WINNT/afsd/afslogon.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/WINNT/afsd/afslogon.c b/src/WINNT/afsd/afslogon.c index a16a45f1cd..0e9788ee2c 100644 --- a/src/WINNT/afsd/afslogon.c +++ b/src/WINNT/afsd/afslogon.c @@ -325,6 +325,8 @@ GetDomainLogonOptions( PLUID lpLogonId, char * username, char * domain, LogonOpt char computerName[MAX_COMPUTERNAME_LENGTH + 1]; char *effDomain; + memset(opt, 0, sizeof(LogonOptions_t)); + DebugEvent("In GetDomainLogonOptions for user [%s] in domain [%s]", username, domain); /* If the domain is the same as the Netbios computer name, we use the LOCALHOST domain name*/ opt->flags = LOGON_FLAG_REMOTE;