diff options
| author | est31 | 2016-02-19 07:13:16 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2016-02-27 15:26:18 +0100 |
| commit | b05c27a27f42a547001781eb2847507dd1c7e5b0 (patch) | |
| tree | 6dca1fe63a56581ecfc555673974bdb096684500 /modules/gdscript/gd_parser.cpp | |
| parent | e30cbc3b3619af7ece7bcb0ba050fe3e72cc9469 (diff) | |
| download | godot-b05c27a27f42a547001781eb2847507dd1c7e5b0.tar.gz godot-b05c27a27f42a547001781eb2847507dd1c7e5b0.tar.zst godot-b05c27a27f42a547001781eb2847507dd1c7e5b0.zip | |
Fix allocation bug if compiled with modern clang or gcc
* Add overflow checked intrinsic abstractions that check on overflow.
* Use them for memory allocation code.
* Use size_t type for memory allocation code to support full platform dependent width.
Fixes #3756.
Diffstat (limited to 'modules/gdscript/gd_parser.cpp')
0 files changed, 0 insertions, 0 deletions
