summaryrefslogtreecommitdiffstats
path: root/libxrdp
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2013-09-10 16:05:17 -0700
committerJay Sorg <jay.sorg@gmail.com>2013-09-10 16:05:17 -0700
commit31c5a30a9b6bdb6612b8971ba92bee9a8ae08af7 (patch)
tree330e3efd7609da5a6c1951d70765624f0fbb4953 /libxrdp
parenta1ae000589f50b7a16f9aff42cca5ab3aae79a4e (diff)
downloadxrdp-proprietary-31c5a30a9b6bdb6612b8971ba92bee9a8ae08af7.tar.gz
xrdp-proprietary-31c5a30a9b6bdb6612b8971ba92bee9a8ae08af7.zip
VUL: if xrdp_sec_process_mcs_data_channels fails, xrdp_sec_process_mcs_data should fail
Diffstat (limited to 'libxrdp')
-rw-r--r--libxrdp/xrdp_sec.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libxrdp/xrdp_sec.c b/libxrdp/xrdp_sec.c
index 5b87042a..6d3e8374 100644
--- a/libxrdp/xrdp_sec.c
+++ b/libxrdp/xrdp_sec.c
@@ -908,7 +908,10 @@ xrdp_sec_process_mcs_data(struct xrdp_sec *self)
case SEC_TAG_CLI_CRYPT:
break;
case SEC_TAG_CLI_CHANNELS:
- xrdp_sec_process_mcs_data_channels(self, s);
+ if (xrdp_sec_process_mcs_data_channels(self, s) != 0)
+ {
+ return 1;
+ }
break;
case SEC_TAG_CLI_4:
break;