libxrdp: iso: fixed a validation check in RDP_NEG_REQ (CORRELATION_INFO_PRESENT flag is sent by mac itap client by default from now)

This commit is contained in:
speidy 2014-07-02 00:57:38 +03:00
parent 57d492d79c
commit ba6c71fd37
1 changed files with 1 additions and 1 deletions

View File

@ -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;