summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorailin-nemui <ailin-nemui@users.noreply.github.com>2016-09-25 23:17:20 +0200
committerailin-nemui <ailin-nemui@users.noreply.github.com>2016-09-25 23:17:20 +0200
commitf9fd50a35711f8f5637c57c276f12410dde9ec9e (patch)
treed307b484970cf7bd0b78394cd249ddc8a7d6c7ef /src
parent31044ec00477a2fc89064e6b54c933c2c59fc076 (diff)
downloadirssi-f9fd50a35711f8f5637c57c276f12410dde9ec9e.zip
nullptr when doing module backward compat on invalid config
Diffstat (limited to 'src')
-rw-r--r--src/core/settings.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/settings.c b/src/core/settings.c
index e65ceb2c..4e0717cd 100644
--- a/src/core/settings.c
+++ b/src/core/settings.c
@@ -585,6 +585,7 @@ void settings_check_module(const char *module)
for (; tmp != NULL; tmp = next) {
node = tmp->data;
next = config_node_next(tmp);
+ if (node->key == NULL) continue;
set = g_hash_table_lookup(settings, node->key);
if (backwards_compatibility(module, node, parent))