Godot Engine – Multi-platform 2D and 3D game engine
Allow out-of-bounds reading in property list helper
kobewi63c87c6c194d
diff --git a/scene/property_list_helper.cpp b/scene/property_list_helper.cppindex 4b67fd5d68a..863a8da5207 100644--- a/scene/property_list_helper.cpp+++ b/scene/property_list_helper.cpp@@ -207,7 +207,7 @@ Variant PropertyListHelper::documentation_get_default_value(const String &p_propbool PropertyListHelper::property_get_value(const String &p_property, Variant &r_ret) const {int index;- const Property *property = _get_property(p_property, &index);+ const Property *property = _get_property(p_property, &index, allow_oob_assign);if (property) {r_ret = _call_getter(property, index);