godot/modules
Hein-Pieter van Braam 38e86c8c24 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

(cherry picked from commit e8611966de)
2017-03-18 20:09:45 +01:00
..
chibi Welcome in 2017, dear changelog reader! 2017-01-12 19:15:30 +01:00
cscript Welcome in 2017, dear changelog reader! 2017-01-12 19:15:30 +01:00
dds Welcome in 2017, dear changelog reader! 2017-01-12 19:15:30 +01:00
etc1 Welcome in 2017, dear changelog reader! 2017-01-12 19:15:30 +01:00
freetype Welcome in 2017, dear changelog reader! 2017-01-12 19:15:30 +01:00
gdscript Remove bounds check when resuming from yield. 2017-03-18 20:09:45 +01:00
gridmap Welcome in 2017, dear changelog reader! 2017-01-12 19:15:30 +01:00
ik Welcome in 2017, dear changelog reader! 2017-01-12 19:15:30 +01:00
jpg Welcome in 2017, dear changelog reader! 2017-01-12 19:15:30 +01:00
mpc Welcome in 2017, dear changelog reader! 2017-01-12 19:15:30 +01:00
ogg Welcome in 2017, dear changelog reader! 2017-01-12 19:15:30 +01:00
openssl Welcome in 2017, dear changelog reader! 2017-01-12 19:15:30 +01:00
opus Welcome in 2017, dear changelog reader! 2017-01-12 19:15:30 +01:00
pbm Welcome in 2017, dear changelog reader! 2017-01-12 19:15:30 +01:00
pvr Welcome in 2017, dear changelog reader! 2017-01-12 19:15:30 +01:00
speex Welcome in 2017, dear changelog reader! 2017-01-12 19:15:30 +01:00
squish Welcome in 2017, dear changelog reader! 2017-01-12 19:15:30 +01:00
theora Welcome in 2017, dear changelog reader! 2017-01-12 19:15:30 +01:00
vorbis Welcome in 2017, dear changelog reader! 2017-01-12 19:15:30 +01:00
webp Update libwebp to 0.6.0 2017-02-18 00:05:06 +09:00
SCsub style: Fix PEP8 whitespace issues in Python files 2016-11-02 22:28:28 +01:00
register_module_types.h Welcome in 2017, dear changelog reader! 2017-01-12 19:15:30 +01:00