diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2013-09-10 16:05:17 -0700 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2013-09-10 16:05:17 -0700 |
commit | 31c5a30a9b6bdb6612b8971ba92bee9a8ae08af7 (patch) | |
tree | 330e3efd7609da5a6c1951d70765624f0fbb4953 /libxrdp | |
parent | a1ae000589f50b7a16f9aff42cca5ab3aae79a4e (diff) | |
download | xrdp-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.c | 5 |
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; |