[channels,remdesk] fix wrong pointere type

This commit is contained in:
akallabeth 2025-03-27 12:31:23 +01:00
parent 3e0d1ae587
commit a7d2caa424
No known key found for this signature in database
GPG Key ID: A49454A3FC909FD5

View File

@ -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))