I am working with the freeradius-client-1.1.7 library. If the configuration file does not have authserver or acctserver defined, the test_config() function in lib/config.c will segfault due to a null pointer reference. The segfault is due to the following code segments:
if(!(rc_conf_srv(rh, "authserver")->max))
if(!(rc_conf_srv(rh, "acctserver")->max))
If these options are not defined, rc_conf_srv() will return null.
I am working with the freeradius-client-1.1.7 library. If the configuration file does not have authserver or acctserver defined, the test_config() function in lib/config.c will segfault due to a null pointer reference. The segfault is due to the following code segments:
if(!(rc_conf_srv(rh, "authserver")->max))
if(!(rc_conf_srv(rh, "acctserver")->max))
If these options are not defined, rc_conf_srv() will return null.