drdynvc: ignore some messages sent for invalid channel ids with MMR and Windows Server 2012 R2, fix issue #3422

This commit is contained in:
Marc-André Moreau 2016-11-03 10:12:48 -04:00
parent 50c5b40a0c
commit e8004d5184

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)