Merge pull request #3584 from awakecoding/master

Fix issue #3422, ignore some dynamic virtual channel messages with invalid ids
This commit is contained in:
Bernhard Miklautz 2016-11-03 15:57:35 +01:00 committed by GitHub
commit 2ceab378f3
1 changed files with 5 additions and 1 deletions

View File

@ -611,8 +611,12 @@ static UINT dvcman_receive_channel_data_first(IWTSVirtualChannelManager*
if (!channel)
{
/**
* Windows Server 2012 R2 can send some messages over Microsoft::Windows::RDS::Geometry::v08.01
* even if the dynamic virtual channel wasn't registered on our side. Ignoring it works.
*/
WLog_ERR(TAG, "ChannelId %d not found!", ChannelId);
return ERROR_INTERNAL_ERROR;
return CHANNEL_RC_OK;
}
if (channel->dvc_data)