From: Alan T. DeKok Date: Sun, 17 May 2015 20:56:31 +0000 (-0400) Subject: node->cs can't be NULL. Closes CID #1298632 X-Git-Tag: release_3_0_9~342 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28a653a2c5c0a797cf8b07bc975a47008c9970a3;p=thirdparty%2Ffreeradius-server.git node->cs can't be NULL. Closes CID #1298632 --- diff --git a/src/main/modules.c b/src/main/modules.c index af27efd01e5..3297ad2cdee 100644 --- a/src/main/modules.c +++ b/src/main/modules.c @@ -684,7 +684,7 @@ module_instance_t *module_instantiate(CONF_SECTION *modules, char const *askedna * Now that ALL modules are instantiated, and ALL xlats * are defined, go compile the config items marked as XLAT. */ - if (node->entry->module->config && node->cs && + if (node->entry->module->config && (cf_section_parse_pass2(node->cs, node->insthandle, node->entry->module->config) < 0)) { return NULL;