mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2025-06-03 00:00:20 +00:00
[channels,remdesk] fix wrong pointere type
This commit is contained in:
parent
3e0d1ae587
commit
a7d2caa424
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user