mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 21:23:04 +01:00
Fixed CORE-5706 - Trace config with misplaced "{" lead firebird to crash.
This commit is contained in:
parent
2d8d6b9393
commit
3843328e57
@ -201,6 +201,12 @@ void TraceCfgReader::readConfig()
|
||||
if (!match)
|
||||
continue;
|
||||
|
||||
if (!section->sub)
|
||||
{
|
||||
fatal_exception::raiseFmt(ERROR_PREFIX
|
||||
"Trace parameters are not present");
|
||||
}
|
||||
|
||||
const ConfigFile::Parameters& elements = section->sub->getParameters();
|
||||
for (FB_SIZE_T p = 0; p < elements.getCount(); ++p)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user