VUL: channels are limited to 31

This commit is contained in:
Jay Sorg 2013-09-10 16:03:35 -07:00
parent 369b090e38
commit a1ae000589

View File

@ -843,7 +843,7 @@ xrdp_sec_process_mcs_data_channels(struct xrdp_sec *self, struct stream *s)
in_uint32_le(s, num_channels);
if (num_channels > 256)
if (num_channels > 31)
{
return 1;
}