Compare commits
No commits in common. "e133a76d577ff04297047b1137eb27b49b612ab7" and "85a53df91eb4a252810e9277e3cd5e120e7cbb6f" have entirely different histories.
e133a76d57
...
85a53df91e
@ -1,25 +0,0 @@
|
|||||||
From 71e463e31b4d69f4022d36bfc814592f56600793 Mon Sep 17 00:00:00 2001
|
|
||||||
From: akallabeth <akallabeth@posteo.net>
|
|
||||||
Date: Sun, 21 Apr 2024 13:56:13 +0200
|
|
||||||
Subject: [PATCH] [core,info] fix missing check in rdp_write_logon_info_v1
|
|
||||||
|
|
||||||
Origin: https://github.com/FreeRDP/FreeRDP/commit/71e463e31b4d69f4022d36bfc814592f56600793
|
|
||||||
|
|
||||||
---
|
|
||||||
libfreerdp/core/info.c | 4 ++++
|
|
||||||
1 file changed, 4 insertions(+)
|
|
||||||
|
|
||||||
--- a/libfreerdp/core/info.c
|
|
||||||
+++ b/libfreerdp/core/info.c
|
|
||||||
@@ -1322,6 +1322,10 @@ static BOOL rdp_write_logon_info_v1(wStr
|
|
||||||
return FALSE;
|
|
||||||
|
|
||||||
/* domain */
|
|
||||||
+ WINPR_ASSERT(info);
|
|
||||||
+ if (!info->domain || !info->username)
|
|
||||||
+ return FALSE;
|
|
||||||
+
|
|
||||||
ilen = ConvertToUnicode(CP_UTF8, 0, info->domain, -1, &wString, 0);
|
|
||||||
|
|
||||||
if (ilen < 0)
|
|
||||||
|
|
||||||
@ -1,48 +0,0 @@
|
|||||||
From 0a35fd99e25e085a4826a7e5af4711034fec2eed Mon Sep 17 00:00:00 2001
|
|
||||||
From: yanying <201250106@smail.nju.edu.cn>
|
|
||||||
Date: Mon, 5 Aug 2024 23:42:40 +0800
|
|
||||||
Subject: [PATCH] Fix clang incompatible function pointer error
|
|
||||||
|
|
||||||
---
|
|
||||||
libfreerdp/codec/rfx.c | 4 ++--
|
|
||||||
winpr/include/winpr/collections.h | 2 +-
|
|
||||||
2 files changed, 3 insertions(+), 3 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/libfreerdp/codec/rfx.c b/libfreerdp/codec/rfx.c
|
|
||||||
index ccbc5afe4..eec736558 100644
|
|
||||||
--- a/libfreerdp/codec/rfx.c
|
|
||||||
+++ b/libfreerdp/codec/rfx.c
|
|
||||||
@@ -153,7 +153,7 @@ static void rfx_tile_init(void* obj)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
-static void* rfx_decoder_tile_new(void* val)
|
|
||||||
+static void* rfx_decoder_tile_new(const void* val)
|
|
||||||
{
|
|
||||||
RFX_TILE* tile = NULL;
|
|
||||||
WINPR_UNUSED(val);
|
|
||||||
@@ -184,7 +184,7 @@ static void rfx_decoder_tile_free(void* obj)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
-static void* rfx_encoder_tile_new(void* val)
|
|
||||||
+static void* rfx_encoder_tile_new(const void* val)
|
|
||||||
{
|
|
||||||
WINPR_UNUSED(val);
|
|
||||||
return calloc(1, sizeof(RFX_TILE));
|
|
||||||
diff --git a/winpr/include/winpr/collections.h b/winpr/include/winpr/collections.h
|
|
||||||
index 807f011d7..b8c8d9d66 100644
|
|
||||||
--- a/winpr/include/winpr/collections.h
|
|
||||||
+++ b/winpr/include/winpr/collections.h
|
|
||||||
@@ -36,7 +36,7 @@ extern "C"
|
|
||||||
{
|
|
||||||
#endif
|
|
||||||
|
|
||||||
- typedef void* (*OBJECT_NEW_FN)(void* val);
|
|
||||||
+ typedef void* (*OBJECT_NEW_FN)(const void* val);
|
|
||||||
typedef void (*OBJECT_INIT_FN)(void* obj);
|
|
||||||
typedef void (*OBJECT_UNINIT_FN)(void* obj);
|
|
||||||
typedef void (*OBJECT_FREE_FN)(void* obj);
|
|
||||||
--
|
|
||||||
2.41.0.windows.1
|
|
||||||
|
|
||||||
Binary file not shown.
20
freerdp.spec
20
freerdp.spec
@ -1,6 +1,6 @@
|
|||||||
Name: freerdp
|
Name: freerdp
|
||||||
Version: 2.11.7
|
Version: 2.11.1
|
||||||
Release: 3
|
Release: 1
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
Summary: A Remote Desktop Protocol Implementation
|
Summary: A Remote Desktop Protocol Implementation
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
@ -8,8 +8,6 @@ URL: http://www.freerdp.com
|
|||||||
|
|
||||||
Source0: https://github.com/FreeRDP/FreeRDP/releases/download/%{version}/freerdp-%{version}.tar.gz
|
Source0: https://github.com/FreeRDP/FreeRDP/releases/download/%{version}/freerdp-%{version}.tar.gz
|
||||||
Patch0001: Fix-freerdp-shadow-cli-exit-codes-for-help-and-version.patch
|
Patch0001: Fix-freerdp-shadow-cli-exit-codes-for-help-and-version.patch
|
||||||
Patch0002: CVE-2024-32661.patch
|
|
||||||
Patch0003: Fix-clang-incompatible-function-pointer-error.patch
|
|
||||||
|
|
||||||
BuildRequires: gcc gcc-c++ alsa-lib-devel cmake >= 2.8 cups-devel gsm-devel libXrandr-devel libXv-devel
|
BuildRequires: gcc gcc-c++ alsa-lib-devel cmake >= 2.8 cups-devel gsm-devel libXrandr-devel libXv-devel
|
||||||
BuildRequires: libjpeg-turbo-devel libjpeg-turbo-devel libX11-devel libXcursor-devel libxkbfile-devel
|
BuildRequires: libjpeg-turbo-devel libjpeg-turbo-devel libX11-devel libXcursor-devel libxkbfile-devel
|
||||||
@ -139,20 +137,6 @@ echo "%{_libdir}/freerdp2" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_
|
|||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Aug 05 2024 yanying <201250106@smail.nju.edu.cn> - 2:2.11.7-3
|
|
||||||
- Fix clang incompatible function pointer error
|
|
||||||
|
|
||||||
* Mon May 06 2024 wangkai <13474090681@163.com> - 2:2.11.7-2
|
|
||||||
- Fix CVE-2024-32661
|
|
||||||
|
|
||||||
* Tue Apr 23 2024 wangkai <13474090681@163.com> - 2:2.11.7-1
|
|
||||||
- Update to 2.11.7 for fix CVE-2024-32039,CVE-2024-32040,
|
|
||||||
CVE-2024-32041,CVE-2024-32458,CVE-2024-32459,CVE-2024-32460,
|
|
||||||
CVE-2024-32658,CVE-2024-32659 and CVE-2024-32660
|
|
||||||
|
|
||||||
* Wed Jan 24 2024 wangkai <13474090681@163.com> - 2:2.11.1-2
|
|
||||||
- Fix CVE-2024-22211
|
|
||||||
|
|
||||||
* Wed Sep 06 2023 Funda Wang <fundawang@yeah.net> - 2:2.11.1-1
|
* Wed Sep 06 2023 Funda Wang <fundawang@yeah.net> - 2:2.11.1-1
|
||||||
- 2.11.1
|
- 2.11.1
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user