VUL: channels are limited to 31
This commit is contained in:
parent
384425f79f
commit
b04384e8e1
@ -729,7 +729,7 @@ xrdp_sec_process_mcs_data_channels(struct xrdp_sec* self, struct stream* s)
|
||||
return 1;
|
||||
}
|
||||
in_uint32_le(s, num_channels);
|
||||
if (num_channels > 256)
|
||||
if (num_channels > 31)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user