1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 13:56:37 +02:00

core: check that parameter name is not NULL in function gui_nicklist_get_group_start

This commit is contained in:
Sébastien Helleu
2024-04-28 19:06:21 +02:00
parent dcd872bc45
commit f1fa143b21
+3
View File
@@ -803,6 +803,9 @@ gui_nicklist_get_group_start (const char *name)
{
const char *ptr_name;
if (!name)
return NULL;
ptr_name = name;
while (isdigit ((unsigned char)ptr_name[0]))
{