From 5872e948e01424f8ebe54fbf8db2925f7777c1bc Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Jan 22 2017 20:31:24 +0000 Subject: Add fastpath hotfix --- diff --git a/xrdp-0.9.1-fastpath.patch b/xrdp-0.9.1-fastpath.patch new file mode 100644 index 0000000..905d8d1 --- /dev/null +++ b/xrdp-0.9.1-fastpath.patch @@ -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 */ diff --git a/xrdp.spec b/xrdp.spec index 16aa804..31838ed 100644 --- a/xrdp.spec +++ b/xrdp.spec @@ -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