From 04f121f214f8d4d5298abf1fb720266696b99e74 Mon Sep 17 00:00:00 2001 From: Jay Sorg Date: Fri, 6 Sep 2013 12:12:37 -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 db921c3e..38d2864b 100644 --- a/libxrdp/xrdp_sec.c +++ b/libxrdp/xrdp_sec.c @@ -804,7 +804,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;