Fixed NULL pointer dereference.

This commit is contained in:
Armin Novak 2015-06-23 12:07:38 +02:00
parent e8d194c743
commit 212db120e0

View File

@ -167,6 +167,12 @@ int nla_client_init(rdpNla* nla)
{
SEC_WINNT_AUTH_IDENTITY* identity = nla->identity;
if (!identity)
{
WLog_ERR(TAG, "NLA identity=%p", identity);
return -1;
}
if (settings->RestrictedAdminModeRequired)
{
if (settings->PasswordHash)