Fix out of bound array access caused by unassigned variable

This commit is contained in:
Rafał Mikrut 2020-04-01 19:29:35 +02:00
parent 0168709978
commit 359bebd8c0
16 changed files with 48 additions and 20 deletions

View file

@ -261,6 +261,7 @@ HashMap<StringName, StringName> ClassDB::compat_classes;
ClassDB::ClassInfo::ClassInfo() {
api = API_NONE;
class_ptr = nullptr;
creation_func = NULL;
inherits_ptr = NULL;
disabled = false;