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:
@@ -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]))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user