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:12:37 +0400
committerJay Sorg <jay.sorg@gmail.com>2013-09-06 23:12:37 +0400
commit85af7159dbe13907ab5277ff64597f274891ccde (patch)
tree8387a9a91d0ca1632d84e06ae7beb3d3366d4b3c
parentb04384e8e1383089b6bd7a578a0b7808e3434f42 (diff)
VUL: if xrdp_sec_process_mcs_data_channels fails, xrdp_sec_process_mcs_data should fail
-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 41be0388..40be2569 100644
--- a/libxrdp/xrdp_sec.c
+++ b/libxrdp/xrdp_sec.c
@@ -789,7 +789,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;