From 31c5a30a9b6bdb6612b8971ba92bee9a8ae08af7 Mon Sep 17 00:00:00 2001 From: Jay Sorg Date: Tue, 10 Sep 2013 16:05:17 -0700 Subject: [PATCH] VUL: if xrdp_sec_process_mcs_data_channels fails, xrdp_sec_process_mcs_data should fail --- libxrdp/xrdp_sec.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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;