From 7a3ae654be986b60b9c188dd53b46c219d9c68c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Thu, 5 Oct 2023 19:02:38 +0200 Subject: [PATCH] core: use larger buffer for errors when creating a filter --- src/gui/gui-filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/gui-filter.c b/src/gui/gui-filter.c index 0e81b8fa0..19858d68e 100644 --- a/src/gui/gui-filter.c +++ b/src/gui/gui-filter.c @@ -363,7 +363,7 @@ gui_filter_new (int enabled, const char *name, const char *buffer_name, { struct t_gui_filter *new_filter; regex_t *regex1, *regex2; - char *pos_tab, *regex_prefix, buf[512], str_error[512]; + char *pos_tab, *regex_prefix, buf[512], str_error[1024]; const char *ptr_start_regex, *pos_regex_message; int rc;