diff --git a/src/conf.c b/src/conf.c index 3e833f024e..e10f587e98 100644 --- a/src/conf.c +++ b/src/conf.c @@ -166,6 +166,9 @@ ConfGet(char *name, char **vptr) ConfNode lookup_key; ConfNode *conf_node; + if (conf_hash == NULL) + return 0; + lookup_key.name = name; conf_node = HashTableLookup(conf_hash, &lookup_key, sizeof(lookup_key));