diff --git a/VERSION b/VERSION index 3a790571..7699cc25 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -a12-194-g06c229dfd4+1 \ No newline at end of file +a12-195-g7cc0f7cb99+1 \ No newline at end of file diff --git a/common/src/option.c b/common/src/option.c index 199b4f50..cef3ed0f 100644 --- a/common/src/option.c +++ b/common/src/option.c @@ -415,6 +415,13 @@ bool option_load(const char * filename) case '\n': if (name) { + if (!module) + { + DEBUG_ERROR("Syntax error on line %d, module not specified for option", lineno); + result = false; + goto exit; + } + struct Option * o = option_get(module, name); if (!o) DEBUG_WARN("Ignored unknown option %s:%s", module, name);