parent
aa6ca6aa40
commit
d9ff38bcd7
@ -134,7 +134,7 @@ BOOL freerdp_channel_process(freerdp* instance, wStream* s, UINT16 channelId, si
|
||||
chunkLength);
|
||||
return FALSE;
|
||||
}
|
||||
if (!Stream_CheckAndLogRequiredLength(TAG, s, length))
|
||||
if (length < chunkLength)
|
||||
{
|
||||
WLog_ERR(TAG, "Expected %" PRIu32 " bytes, but have %" PRIdz, length, chunkLength);
|
||||
return FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user