SHA256
1
0
forked from pool/freerdp

Accepting request 587410 from home:weberho:branches:X11:RemoteDesktop

- Added no_connection_to_windows_10_17101.patch to fix 
  Windows-connection-problem after Windows march 2018 updates.
  This fix is related to boo#1085416

OBS-URL: https://build.opensuse.org/request/show/587410
OBS-URL: https://build.opensuse.org/package/show/X11:RemoteDesktop/freerdp?expand=0&rev=71
This commit is contained in:
Johannes Weberhofer 2018-03-15 08:39:22 +00:00 committed by Git OBS Bridge
parent 5e44674fe9
commit e729249034
3 changed files with 32 additions and 0 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Mar 15 07:33:40 UTC 2018 - jweberhofer@weberhofer.at
- Added no_connection_to_windows_10_17101.patch to fix
Windows-connection-problem after Windows march 2018 updates.
This fix is related to boo#1085416
-------------------------------------------------------------------
Mon Mar 12 19:26:30 UTC 2018 - crrodriguez@opensuse.org

View File

@ -28,6 +28,8 @@ License: Apache-2.0
Group: Productivity/Networking/Other
Url: http://www.freerdp.com/
Source0: https://github.com/FreeRDP/FreeRDP/archive/%{version_file}.tar.gz#/FreeRDP-%{version_file}.tar.gz
# PATCH-FIX-UPSTREAM no_connection_to_windows_10_17101.patch boo#1085416
Patch0: no_connection_to_windows_10_17101.patch
BuildRequires: chrpath
BuildRequires: cmake >= 2.8
BuildRequires: cups-devel
@ -150,6 +152,7 @@ use the uwac library.
%prep
%setup -q -n FreeRDP-%{version_file}
%patch0 -p1
%if 0%{?sles_version} == 11
cp %{SOURCE1} cmake/
%endif

View File

@ -0,0 +1,22 @@
diff -ur FreeRDP-2.0.0-rc1-orig/libfreerdp/core/nla.c FreeRDP-2.0.0-rc1/libfreerdp/core/nla.c
--- FreeRDP-2.0.0-rc1-orig/libfreerdp/core/nla.c 2017-11-28 15:26:30.000000000 +0100
+++ FreeRDP-2.0.0-rc1/libfreerdp/core/nla.c 2018-03-14 16:25:02.230620541 +0100
@@ -1663,14 +1663,17 @@
static int nla_decode_ts_request(rdpNla* nla, wStream* s)
{
int length;
+ UINT32 version = 0;
/* TSRequest */
if (!ber_read_sequence_tag(s, &length) ||
!ber_read_contextual_tag(s, 0, &length, TRUE) ||
- !ber_read_integer(s, &nla->version))
+ !ber_read_integer(s, &version))
{
return -1;
}
+ if (version < nla->version)
+ nla->version = version;
/* [1] negoTokens (NegoData) */
if (ber_read_contextual_tag(s, 1, &length, TRUE) != FALSE)