8
0
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:
Adriano dos Santos Fernandes 2018-01-13 13:22:17 -02:00
parent 2d8d6b9393
commit 3843328e57

View File

@ -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)
{