rlm_sqlippool segfaults on wrong/missing rlm_sql instance
Hi, rlm_sqlippool segfaults if you specify a non existing sql module instance. I modified it a bit to behave like rlm_sqlhpwippool, it now throws an error if the specified module instance does not exist: Tue Jul 31 11:23:16 2007 : Error: ERROR: Cannot find a configuration entry for module "foobar". Tue Jul 31 11:23:16 2007 : Error: sqlippool_instantiate: failed to find sql instance named foobar And also throws an error if the specified module is not an instance of rlm_sql: Tue Jul 31 11:28:24 2007 : Error: sqlippool_instantiate: given instance (expr) is not an instance of the rlm_sql module Regards Stephan Jaeger -- Stephan Jaeger <stephan.jaeger@ewetel.de> EWE TEL GmbH
Stephan Jaeger wrote in July:
rlm_sqlippool segfaults if you specify a non existing sql module instance.
I modified it a bit to behave like rlm_sqlhpwippool, it now throws an error if the specified module instance does not exist:
Fixed, thanks. (Yes, my inbox is many months deep). Alan DeKok.
participants (2)
-
Alan DeKok -
Stephan Jaeger