mirror of https://github.com/neutrinolabs/xrdp
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:
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…
Reference in New Issue