mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05:00
nullptr when doing module backward compat on invalid config
This commit is contained in:
parent
31044ec004
commit
f9fd50a357
@ -585,6 +585,7 @@ void settings_check_module(const char *module)
|
|||||||
for (; tmp != NULL; tmp = next) {
|
for (; tmp != NULL; tmp = next) {
|
||||||
node = tmp->data;
|
node = tmp->data;
|
||||||
next = config_node_next(tmp);
|
next = config_node_next(tmp);
|
||||||
|
if (node->key == NULL) continue;
|
||||||
|
|
||||||
set = g_hash_table_lookup(settings, node->key);
|
set = g_hash_table_lookup(settings, node->key);
|
||||||
if (backwards_compatibility(module, node, parent))
|
if (backwards_compatibility(module, node, parent))
|
||||||
|
Loading…
Reference in New Issue
Block a user