1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00
Files
godot/modules
Hein-Pieter van Braam e8611966de Remove bounds check when resuming from yield.
The code would get a pointer to the beginning of the call_args by using
operator[] at the stack Vector. This does bound checking. When there are
no call_args this bound check fails and the error mentioned in #7796
gets triggered.

This bound check is actually not necessary as call_args just gets set to
NULL and never dereferenced. This new code will just unconditionally set
the pointer to the place where the call_args are if there are any. There
is no NULL check for call_args anywhere so this is safe.

Fixes #7796
2017-02-13 21:59:05 +01:00
..
2017-01-14 14:52:23 +01:00
2017-02-13 12:50:02 +01:00
2017-02-13 12:50:02 +01:00
2017-01-15 16:07:51 -03:00
2017-01-15 16:07:51 -03:00
2017-02-13 12:50:02 +01:00
2017-01-16 08:48:24 +01:00
2017-01-15 16:07:51 -03:00