diff options
| author | lonesurvivor | 2017-02-04 20:51:56 +0100 |
|---|---|---|
| committer | lonesurvivor | 2017-02-04 20:57:39 +0100 |
| commit | c71a6c6d71e6dc8dc0d6fe20c77ea2de612a9836 (patch) | |
| tree | f648bd0ae6a9fe0903341dd2f61867c45ac876f8 /core/io/xml_parser.cpp | |
| parent | ad2e1b1b92e9545a635f1a8f595df1249feaa040 (diff) | |
| download | godot-c71a6c6d71e6dc8dc0d6fe20c77ea2de612a9836.tar.gz godot-c71a6c6d71e6dc8dc0d6fe20c77ea2de612a9836.tar.zst godot-c71a6c6d71e6dc8dc0d6fe20c77ea2de612a9836.zip | |
Fix parsing bug which causes range(variable) to crash the engine
problem was a segmentation fault caused by trying to access Vector constants[0] which isn't there if op->arguments.size() is not bigger than one.
- the changed OR condition didn't make sense (always true), should be AND
- changes the "constant" variable to be false per default and gets set to true when there is actually something pushed to "constants"
Diffstat (limited to 'core/io/xml_parser.cpp')
0 files changed, 0 insertions, 0 deletions
