STABLE14-windows-afslogon-null-ptr-20060803

FIXES 33962

do not dereference a null pointer effDomain


(cherry picked from commit 3002d38bcd30a1ac20c77a2c30a6858435f6d604)
This commit is contained in:
Jeffrey Altman 2006-08-03 22:50:05 +00:00
parent 485f884088
commit a8b8c6d78b

View File

@ -398,7 +398,7 @@ GetDomainLogonOptions( PLUID lpLogonId, char * username, char * domain, LogonOpt
hkDoms = NULL; hkDoms = NULL;
} }
} else } else
DebugEvent("Not opening domain key for [%s]", effDomain); DebugEvent("Not opening domain key");
/* Each individual can either be specified on the domain key, the domains key or in the /* Each individual can either be specified on the domain key, the domains key or in the
net provider key. They fail over in that order. If none is found, we just use the net provider key. They fail over in that order. If none is found, we just use the