From 1503c016a7637e429268aea8edcb2c807fa3463e Mon Sep 17 00:00:00 2001 From: Eric Warmenhoven Date: Wed, 1 Jan 2025 19:04:38 -0500 Subject: [PATCH] Fix passing wrong length of message --- gfx/gfx_widgets.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gfx/gfx_widgets.c b/gfx/gfx_widgets.c index 4c77adf6e35..f6f9e06f4d0 100644 --- a/gfx/gfx_widgets.c +++ b/gfx/gfx_widgets.c @@ -243,6 +243,7 @@ void gfx_widgets_msg_queue_push( if (task) { + len = strlen(task->title); title = msg_widget->msg = strdup(task->title); msg_widget->msg_new = strdup(title); msg_widget->msg_len = len;