Merge pull request #2752 from akallabeth/nla_user_length_fix
NLA decrypt credentials fixed.
This commit is contained in:
commit
59e2801848
@ -945,7 +945,7 @@ BOOL nla_read_ts_password_creds(rdpNla* nla, wStream* s)
|
||||
return FALSE;
|
||||
}
|
||||
nla->identity->UserLength = (UINT32) length;
|
||||
if (nla->identity->PasswordLength > 0)
|
||||
if (nla->identity->UserLength > 0)
|
||||
{
|
||||
nla->identity->User = (UINT16 *) malloc(length);
|
||||
if (!nla->identity->User)
|
||||
|
Loading…
x
Reference in New Issue
Block a user