mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-17 04:37:19 +00:00
freerdp: patch CVE-2024-32661
Pick commit [1] as mentioned in [2] or [3].
[1] https://github.com/FreeRDP/FreeRDP/commit/71e463e31b4d69f4022d36bfc814592f56600793
[2] https://nvd.nist.gov/vuln/detail/CVE-2024-32661
[3] https://security-tracker.debian.org/tracker/CVE-2024-32661
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit c91d6a2c65)
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This commit is contained in:
@@ -0,0 +1,27 @@
|
|||||||
|
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
|
||||||
|
|
||||||
|
CVE: CVE-2024-32661
|
||||||
|
Upstream-Status: Backport [https://github.com/FreeRDP/FreeRDP/commit/71e463e31b4d69f4022d36bfc814592f56600793]
|
||||||
|
Signed-off-by: Peter Marko <peter.marko@siemens.com>
|
||||||
|
---
|
||||||
|
libfreerdp/core/info.c | 4 ++++
|
||||||
|
1 file changed, 4 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/libfreerdp/core/info.c b/libfreerdp/core/info.c
|
||||||
|
index 7d6eec137..3395e4d2e 100644
|
||||||
|
--- a/libfreerdp/core/info.c
|
||||||
|
+++ b/libfreerdp/core/info.c
|
||||||
|
@@ -1322,6 +1322,10 @@ static BOOL rdp_write_logon_info_v1(wStream* s, logon_info* info)
|
||||||
|
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)
|
||||||
@@ -19,6 +19,7 @@ SRC_URI = "git://github.com/FreeRDP/FreeRDP.git;branch=stable-2.0;protocol=https
|
|||||||
file://0001-Fixed-compilation-warnings.patch \
|
file://0001-Fixed-compilation-warnings.patch \
|
||||||
file://0001-Fix-const-qualifier-error.patch \
|
file://0001-Fix-const-qualifier-error.patch \
|
||||||
file://0002-Do-not-install-tools-a-CMake-targets.patch \
|
file://0002-Do-not-install-tools-a-CMake-targets.patch \
|
||||||
|
file://CVE-2024-32661.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|||||||
Reference in New Issue
Block a user