mirror of
git://git.yoctoproject.org/poky
synced 2026-10-02 17:38:52 +00:00
Upstream-Status: Backport
[9bb0a55de5]
(From OE-Core rev: c5afbcf487cb7331f641c4dd2c7a972b4cd3c787)
Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
29 lines
868 B
Diff
29 lines
868 B
Diff
From 9bb0a55de55c6940ced811a64fbca82fe93a9323 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
|
|
|
|
Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/commit/9bb0a55de55c6940ced811a64fbca82fe93a9323]
|
|
CVE: CVE-2025-32050
|
|
Signed-off-by: Vijay Anusuri <vanusuri@mvista.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 613e1905..a5f7a7f6 100644
|
|
--- a/libsoup/soup-headers.c
|
|
+++ b/libsoup/soup-headers.c
|
|
@@ -907,7 +907,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, "=\"");
|
|
--
|
|
GitLab
|
|
|