Fixed NULL pointer dereference.
This commit is contained in:
parent
e8d194c743
commit
212db120e0
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user