[channel] Fixed broken length check
The length check for channel chunk data was wrong. Not only was it checked twice, the second check expected the whole fragmented data to be available.
This commit is contained in:
parent
7d67adbc54
commit
901753b527
@ -142,8 +142,6 @@ BOOL freerdp_channel_process(freerdp* instance, wStream* s, UINT16 channelId, si
|
||||
chunkLength);
|
||||
return FALSE;
|
||||
}
|
||||
if (!Stream_CheckAndLogRequiredLength(TAG, s, length))
|
||||
return FALSE;
|
||||
|
||||
IFCALLRET(instance->ReceiveChannelData, rc, instance, channelId, Stream_Pointer(s), chunkLength,
|
||||
flags, length);
|
||||
|
Loading…
Reference in New Issue
Block a user