8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-02-02 10:00:38 +01:00

Fix crash in internal EDS provider. Thanks to Vlad Khorsun

This commit is contained in:
Dimitry Sibiryakov 2020-06-16 14:04:27 +02:00
parent 926db40d88
commit 371218d892

View File

@ -190,7 +190,7 @@ void InternalConnection::attach(thread_db* tdbb)
memset(m_features, false, sizeof(m_features));
static const info_features features[] = ENGINE_FEATURES;
for (int i = 0; i < sizeof(features); i++)
for (int i = 0; i < FB_NELEM(features); i++)
setFeature(features[i]);
}