27 lines
695 B
Diff
27 lines
695 B
Diff
From 1912467968aabbf76287e639aa254751b00c0a2a 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-2025-32050
|
|
---
|
|
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 2d287fc2..cc481cfa 100644
|
|
--- a/libsoup/soup-headers.c
|
|
+++ b/libsoup/soup-headers.c
|
|
@@ -905,7 +905,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
|
|
|