diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2013-09-10 16:03:35 -0700 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2013-09-10 16:03:35 -0700 |
commit | a1ae000589f50b7a16f9aff42cca5ab3aae79a4e (patch) | |
tree | 1dfd56d6598ccac1f194d3d9a845b210a1d0fbb4 /libxrdp/xrdp_sec.c | |
parent | 369b090e38c1000ffd9a931615c3442692b0da18 (diff) | |
download | xrdp-proprietary-a1ae000589f50b7a16f9aff42cca5ab3aae79a4e.tar.gz xrdp-proprietary-a1ae000589f50b7a16f9aff42cca5ab3aae79a4e.zip |
VUL: channels are limited to 31
Diffstat (limited to 'libxrdp/xrdp_sec.c')
-rw-r--r-- | libxrdp/xrdp_sec.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |