[Commits] [SCM] claws branch, master, updated. 4.3.1-28-g1e87622ac

wwp at claws-mail.org wwp at claws-mail.org
Wed Mar 5 20:01:20 UTC 2025


The branch, master has been updated
       via  1e87622ac8f04e1f4bf00cf8516425bff141a911 (commit)
      from  8f23177469fef16a01ce8c4b2cdd1d4f88dc324b (commit)

Summary of changes:
 src/compose.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 1e87622ac8f04e1f4bf00cf8516425bff141a911
Author: wwp <subscript at free.fr>
Date:   Wed Mar 5 21:00:38 2025 +0100

    Fix CID 1491061: Out-of-bounds access (OVERRUN)

diff --git a/src/compose.c b/src/compose.c
index e3e74f7e3..8c235f03e 100644
--- a/src/compose.c
+++ b/src/compose.c
@@ -11940,7 +11940,7 @@ static void compose_header_drag_received_cb (GtkWidget		*widget,
 	 * does not work */
 
 	if (!strncmp(email, "mailto:", strlen("mailto:"))) {
-		gchar *decoded=g_new(gchar, strlen(email));
+		gchar *decoded=g_new(gchar, strlen(email)+1);
 		int start = 0;
 
 		decode_uri(decoded, email + strlen("mailto:")); /* will fit */

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list