mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
fset: ensure option_name is not NULL before comparing it
This commit is contained in:
@@ -1432,6 +1432,7 @@ fset_option_config_changed (const char *option_name)
|
||||
ptr_fset_option = weechat_arraylist_get (fset_options, line);
|
||||
if (ptr_fset_option
|
||||
&& ptr_fset_option->parent_name
|
||||
&& option_name
|
||||
&& (strcmp (ptr_fset_option->parent_name, option_name) == 0))
|
||||
{
|
||||
ptr_option = weechat_config_get (ptr_fset_option->name);
|
||||
|
||||
Reference in New Issue
Block a user