summaryrefslogtreecommitdiffstats
path: root/libxrdp/xrdp_iso.c
diff options
context:
space:
mode:
authorspeidy <speidy@gmail.com>2014-07-02 00:57:38 +0300
committerspeidy <speidy@gmail.com>2014-07-02 00:57:38 +0300
commitba6c71fd378fa10c8f0379325556daf8fe0219f4 (patch)
tree5bf946baedb46219aea2562907332c93cca7fb02 /libxrdp/xrdp_iso.c
parent57d492d79c3cbccf3898fac8bce7b1802176c2be (diff)
downloadxrdp-proprietary-ba6c71fd378fa10c8f0379325556daf8fe0219f4.tar.gz
xrdp-proprietary-ba6c71fd378fa10c8f0379325556daf8fe0219f4.zip
libxrdp: iso: fixed a validation check in RDP_NEG_REQ (CORRELATION_INFO_PRESENT flag is sent by mac itap client by default from now)
Diffstat (limited to 'libxrdp/xrdp_iso.c')
-rw-r--r--libxrdp/xrdp_iso.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libxrdp/xrdp_iso.c b/libxrdp/xrdp_iso.c
index 0ea07c18..b1582a3a 100644
--- a/libxrdp/xrdp_iso.c
+++ b/libxrdp/xrdp_iso.c
@@ -58,7 +58,7 @@ xrdp_iso_recv_rdpnegreq(struct xrdp_iso *self, struct stream *s)
DEBUG((" in xrdp_iso_recv_rdpnegreq"));
in_uint8(s, flags);
- if (flags != 0x0)
+ if (flags != 0x0 && flags != 0x8 && flags != 0x1)
{
DEBUG((" xrdp_iso_recv_rdpnegreq: flags: %x",flags));
return 1;