Runtime check for GDTR::find()

This commit is contained in:
Pavel Kirienko 2014-03-18 16:40:08 +04:00
parent 2103e59ef1
commit 5eb49fcf7e

View File

@ -124,6 +124,11 @@ void GlobalDataTypeRegistry::freeze()
const DataTypeDescriptor* GlobalDataTypeRegistry::find(DataTypeKind kind, const char* name) const
{
if (!name)
{
assert(0);
return NULL;
}
const List* list = selectList(kind);
if (!list)
{