mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[channels,remdesk] fix wrong pointere type
This commit is contained in:
@@ -516,7 +516,7 @@ static DWORD WINAPI remdesk_server_thread(LPVOID arg)
|
||||
|
||||
if (Stream_GetPosition(s) >= 8)
|
||||
{
|
||||
const BYTE* pHeader = Stream_BufferAs(s, UINT32);
|
||||
const UINT32* pHeader = Stream_BufferAs(s, UINT32);
|
||||
const UINT32 PduLength = pHeader[0] + pHeader[1] + 8;
|
||||
|
||||
if (PduLength >= Stream_GetPosition(s))
|
||||
|
||||
Reference in New Issue
Block a user