diff options
Diffstat (limited to 'meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32050.patch')
-rw-r--r-- | meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32050.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32050.patch b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32050.patch new file mode 100644 index 0000000000..c032846ef0 --- /dev/null +++ b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32050.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From 5709dfffb6fdc5b66ce001bf82a755ad8ad1d992 Mon Sep 17 00:00:00 2001 | ||
2 | From: Patrick Griffis <pgriffis@igalia.com> | ||
3 | Date: Mon, 28 Oct 2024 12:29:48 -0500 | ||
4 | Subject: [PATCH] Fix using int instead of size_t for strcspn return | ||
5 | |||
6 | CVE: CVE-2025-32050 | ||
7 | Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/commit/9bb0a55de55c6940ced811a64fbca82fe93a9323] | ||
8 | |||
9 | Signed-off-by: Changqing Li <changqing.li@windriver.com> | ||
10 | --- | ||
11 | libsoup/soup-headers.c | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/libsoup/soup-headers.c b/libsoup/soup-headers.c | ||
15 | index 9707ca0..67905b2 100644 | ||
16 | --- a/libsoup/soup-headers.c | ||
17 | +++ b/libsoup/soup-headers.c | ||
18 | @@ -902,7 +902,7 @@ append_param_quoted (GString *string, | ||
19 | const char *name, | ||
20 | const char *value) | ||
21 | { | ||
22 | - int len; | ||
23 | + gsize len; | ||
24 | |||
25 | g_string_append (string, name); | ||
26 | g_string_append (string, "=\""); | ||
27 | -- | ||
28 | 2.34.1 | ||
29 | |||