1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 04:16: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 8c55f87fb2
commit fad3f0c942
+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;