From b0fc5799554e245eb02099516fe2d652751a2193 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Thu, 17 May 2018 21:51:09 +0200 Subject: fset: ensure option_name is not NULL before comparing it --- src/plugins/fset/fset-option.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/plugins/fset/fset-option.c b/src/plugins/fset/fset-option.c index d3da36e23..0153d67f8 100644 --- a/src/plugins/fset/fset-option.c +++ b/src/plugins/fset/fset-option.c @@ -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); -- cgit v1.2.3