VUL: channels are limited to 31

This commit is contained in:
Jay Sorg 2013-09-06 12:00:59 -07:00
parent 9533e7fa2e
commit bc6b29ae88

View File

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