1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-24 20:06:38 +02:00

core: check that buffer is not NULL in function gui_chat_printf_date_tags_internal

This commit is contained in:
Sébastien Helleu
2023-10-30 12:16:31 +01:00
parent c7cf41c357
commit 2ee71c7699
+3
View File
@@ -597,6 +597,9 @@ gui_chat_printf_date_tags_internal (struct t_gui_buffer *buffer,
char *modifier_data, *string, *new_string, *pos_newline;
struct t_gui_line *new_line;
if (!buffer)
return;
new_line = NULL;
string = NULL;
modifier_data = NULL;