godot/modules/gdscript
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
..
config.py style: Fix PEP8 blank lines issues in Python files 2016-11-01 00:35:16 +01:00
gd_compiler.cpp Style: Fix statements ending with ';;' 2017-01-16 08:49:52 +01:00
gd_compiler.h -GDScript support for accessing properties directly 2017-01-04 17:37:45 -03:00
gd_editor.cpp Style: Fix statements ending with ';;' 2017-01-16 08:49:52 +01:00
gd_function.cpp Remove bounds check when resuming from yield. 2017-02-13 21:59:05 +01:00
gd_function.h -GDScript support for accessing properties directly 2017-01-04 17:37:45 -03:00
gd_functions.cpp Overloaded basic math funcs (double and float variants). Use real_t rather than float or double in generic functions (core/math) whenever possible. 2017-01-16 13:36:33 -06:00
gd_functions.h Merge pull request #7093 from bojidar-bg/named-colors 2017-01-11 10:36:15 +01:00
gd_parser.cpp Fix parsing bug which causes range(variable) to crash the engine 2017-02-04 20:57:39 +01:00
gd_parser.h Merge pull request #6845 from karroffel/master 2017-01-14 17:08:10 -03:00
gd_script.cpp Rename the _MD macro to D_METHOD 2017-02-13 12:50:02 +01:00
gd_script.h Style: Fix whole-line commented code 2017-01-14 14:52:23 +01:00
gd_tokenizer.cpp made _ a special token in GDScript 2017-01-20 09:26:55 +01:00
gd_tokenizer.h made _ a special token in GDScript 2017-01-20 09:26:55 +01:00
register_types.cpp Removed import/export system, will start new one from scratch. 2017-01-25 21:57:08 -03:00
register_types.h Welcome in 2017, dear changelog reader! 2017-01-01 22:03:33 +01:00
SCsub SCsub: Add python shebang as a hint for syntax highlighting 2016-10-17 20:10:46 +02:00