Merge pull request #2279 from bmiklautz/channel_fail
core: fix problem with data for unknown channel
This commit is contained in:
commit
ec3be62ff2
@ -242,8 +242,6 @@ int freerdp_channels_data(freerdp* instance, UINT16 channelId, BYTE* data, int d
|
||||
|
||||
for (index = 0; index < mcs->channelCount; index++)
|
||||
{
|
||||
channel = &mcs->channels[index];
|
||||
|
||||
if (mcs->channels[index].ChannelId == channelId)
|
||||
{
|
||||
channel = &mcs->channels[index];
|
||||
|
Loading…
Reference in New Issue
Block a user