Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/neutrinolabs/xrdp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2013-09-06 23:00:59 +0400
committerJay Sorg <jay.sorg@gmail.com>2013-09-13 00:41:13 +0400
commitbc6b29ae8826c0efc12704fcdd37a048ed09a076 (patch)
tree0c85e807d8d2cde3fe21d0615e4ce628af484d55
parent9533e7fa2e3af53f0bc17bdce4ab562187631f2d (diff)
VUL: channels are limited to 31
-rw-r--r--libxrdp/xrdp_sec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libxrdp/xrdp_sec.c b/libxrdp/xrdp_sec.c
index 426816cb..db921c3e 100644
--- a/libxrdp/xrdp_sec.c
+++ b/libxrdp/xrdp_sec.c
@@ -744,7 +744,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;
}