xrdp_rdp_send_data() now works with --enable-devel-streamcheck
This commit is contained in:
parent
d0a8ed37e0
commit
763f8fab7f
@ -611,7 +611,7 @@ xrdp_rdp_send_data(struct xrdp_rdp *self, struct stream *s,
|
||||
ls.data = mppc_enc->outputBuffer - (rdp_offset + 18);
|
||||
ls.p = ls.data + rdp_offset;
|
||||
ls.end = ls.p + clen;
|
||||
ls.size = clen;
|
||||
ls.size = s->end - s->data;
|
||||
ls.iso_hdr = ls.data + iso_offset;
|
||||
ls.mcs_hdr = ls.data + mcs_offset;
|
||||
ls.sec_hdr = ls.data + sec_offset;
|
||||
|
@ -642,6 +642,10 @@ xrdp_sec_init(struct xrdp_sec *self, struct stream *s)
|
||||
s_push_layer(s, sec_hdr, 4);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
s_push_layer(s, sec_hdr, 0);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user