diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2018-05-17 21:51:09 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2018-05-17 21:51:09 +0200 |
commit | b0fc5799554e245eb02099516fe2d652751a2193 (patch) | |
tree | 1cf03ed364e81e2bcf1b6c9e1558683e83f0e661 /src | |
parent | a62fb0dd366e1b92f4a590e344ad07a7e0c372c2 (diff) | |
download | weechat-b0fc5799554e245eb02099516fe2d652751a2193.zip |
fset: ensure option_name is not NULL before comparing it
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/fset/fset-option.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |