libfreerdp-core: server fix sending zero length update pdu.
System pointer update PDU (default pointer or null pointer) has zero length update body. This will fix fastpath module to be able to send out such packets.
This commit is contained in:
parent
a1551d0dc9
commit
e2b7788143
@ -639,7 +639,7 @@ boolean fastpath_send_update_pdu(rdpFastPath* fastpath, uint8 updateCode, STREAM
|
||||
try_comp = rdp->settings->compression;
|
||||
comp_update = stream_new(0);
|
||||
|
||||
for (fragment = 0; totalLength > 0; fragment++)
|
||||
for (fragment = 0; totalLength > 0 || fragment == 0; fragment++)
|
||||
{
|
||||
stream_get_mark(s, holdp);
|
||||
ls = s;
|
||||
|
Loading…
x
Reference in New Issue
Block a user