From a1ae000589f50b7a16f9aff42cca5ab3aae79a4e Mon Sep 17 00:00:00 2001 From: Jay Sorg Date: Tue, 10 Sep 2013 16:03:35 -0700 Subject: [PATCH] VUL: channels are limited to 31 --- libxrdp/xrdp_sec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libxrdp/xrdp_sec.c b/libxrdp/xrdp_sec.c index c44ae420..5b87042a 100644 --- a/libxrdp/xrdp_sec.c +++ b/libxrdp/xrdp_sec.c @@ -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; }