Add fastpath hotfix

This commit is contained in:
Pavel Roskin 2017-01-22 12:31:24 -08:00
parent 66c205af73
commit 5872e948e0
2 changed files with 16 additions and 0 deletions

15
xrdp-0.9.1-fastpath.patch Normal file
View File

@ -0,0 +1,15 @@
diff --git a/libxrdp/xrdp_rdp.c b/libxrdp/xrdp_rdp.c
index dd6e6d3..219c026 100644
--- a/libxrdp/xrdp_rdp.c
+++ b/libxrdp/xrdp_rdp.c
@@ -782,9 +782,9 @@ xrdp_rdp_send_data_update_sync(struct xrdp_rdp *self)
return 1;
}
out_uint16_le(s, RDP_UPDATE_SYNCHRONIZE);
+ out_uint16_le(s, 0); /* pad */
}
- out_uint16_le(s, 0); /* pad */
s_mark_end(s);
if (self->client_info.use_fast_path & 1) /* fastpath output supported */

View File

@ -13,6 +13,7 @@ Source3: xrdp.logrotate
Patch0: xrdp-0.9.1-sesman.patch
Patch1: xrdp-0.9.1-xrdp-ini.patch
Patch2: xrdp-0.9.1-service.patch
Patch3: xrdp-0.9.1-fastpath.patch
Buildrequires: libX11-devel
BuildRequires: libXfixes-devel