summaryrefslogtreecommitdiff
path: root/core/variant/variant_utility.cpp
diff options
context:
space:
mode:
authorAlex Hirsch <w4rh4wk@bluephoenix.at>2021-03-04 18:44:30 +0100
committerAlex Hirsch <w4rh4wk@bluephoenix.at>2021-03-04 18:50:37 +0100
commit6985967c3bbfbc96e60fdd5ec6136d209c3d5210 (patch)
treed08574e86c2ef26c9345174e42c40c42eb5c4015 /core/variant/variant_utility.cpp
parent4c10d31bc42f0d01d1b6a8042413a8886d19f987 (diff)
Add missing ERR_FAIL_INDEX check to Variant::construct
Other functions in the same file validate parameters using the ERR_FAIL macros. This validation was missing for Variant::construct resulting in a crash when called with invalid data (p_type < 0). fix #46067
Diffstat (limited to 'core/variant/variant_utility.cpp')
0 files changed, 0 insertions, 0 deletions