mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
Merge pull request #10822 from akallabeth/rdstls-silence
[core,rdstls] do silent password check
This commit is contained in:
@@ -972,8 +972,9 @@ static SSIZE_T rdstls_parse_pdu_data_type(wLog* log, UINT16 dataType, wStream* s
|
||||
return 0;
|
||||
Stream_Read_UINT16(s, passwordLength);
|
||||
|
||||
if (!Stream_SafeSeek(s, passwordLength))
|
||||
if (Stream_GetRemainingLength(s) < passwordLength)
|
||||
return 0;
|
||||
Stream_Seek(s, passwordLength);
|
||||
}
|
||||
break;
|
||||
case RDSTLS_DATA_AUTORECONNECT_COOKIE:
|
||||
|
||||
Reference in New Issue
Block a user