mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
libsoup: fix CVE-2025-32050
Refer: https://gitlab.gnome.org/GNOME/libsoup/-/issues/424 (From OE-Core rev: 563a34faae35e4587fe2740c26c4bc149555a5de) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
committed by
Steve Sakoman
parent
a7a45d58e0
commit
e4ebf3effd
@@ -0,0 +1,29 @@
|
|||||||
|
From 30c86c9a284cf6f366ac87df0bca3e18a5de8671 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Patrick Griffis <pgriffis@igalia.com>
|
||||||
|
Date: Mon, 28 Oct 2024 12:29:48 -0500
|
||||||
|
Subject: [PATCH] Fix using int instead of size_t for strcspn return
|
||||||
|
|
||||||
|
CVE: CVE-2025-32050
|
||||||
|
Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/commit/9bb0a55de55c6940ced811a64fbca82fe93a9323]
|
||||||
|
|
||||||
|
Signed-off-by: Changqing Li <changqing.li@windriver.com>
|
||||||
|
---
|
||||||
|
libsoup/soup-headers.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/libsoup/soup-headers.c b/libsoup/soup-headers.c
|
||||||
|
index 5fb32c2..52ef2ec 100644
|
||||||
|
--- a/libsoup/soup-headers.c
|
||||||
|
+++ b/libsoup/soup-headers.c
|
||||||
|
@@ -906,7 +906,7 @@ append_param_quoted (GString *string,
|
||||||
|
const char *name,
|
||||||
|
const char *value)
|
||||||
|
{
|
||||||
|
- int len;
|
||||||
|
+ gsize len;
|
||||||
|
|
||||||
|
g_string_append (string, name);
|
||||||
|
g_string_append (string, "=\"");
|
||||||
|
--
|
||||||
|
2.34.1
|
||||||
|
|
||||||
@@ -40,6 +40,7 @@ SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz \
|
|||||||
file://CVE-2025-32052.patch \
|
file://CVE-2025-32052.patch \
|
||||||
file://CVE-2025-32051-1.patch \
|
file://CVE-2025-32051-1.patch \
|
||||||
file://CVE-2025-32051-2.patch \
|
file://CVE-2025-32051-2.patch \
|
||||||
|
file://CVE-2025-32050.patch \
|
||||||
"
|
"
|
||||||
SRC_URI[sha256sum] = "291c67725f36ed90ea43efff25064b69c5a2d1981488477c05c481a3b4b0c5aa"
|
SRC_URI[sha256sum] = "291c67725f36ed90ea43efff25064b69c5a2d1981488477c05c481a3b4b0c5aa"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user