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

ulab-next-nosound
speidy 11 years ago
parent 57d492d79c
commit ba6c71fd37

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

Loading…
Cancel
Save