From 01951a5a5ab26881188d6204dd86a8a0cb8f6e1e Mon Sep 17 00:00:00 2001 From: Eric Warmenhoven Date: Wed, 1 Jan 2025 19:49:25 -0500 Subject: [PATCH] Fix passing wrong length of message (#17329) --- 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;