virtualx-engine/modules/gdnative/nativescript
Maarten Heremans cf09952b6b Fixes crash when loading *.escn resources with gdnative #20141
The issue is that ResourceFormatLoaderText is a singleton. It was created in a faulty way in
ResourceFormatLoaderNativeScript::load
It was created on the stack, which caused the static singleton pointer to be overwritten. This
causes then segmentation faults if the singleton is used later on.

IMO singleton creation needs to made safer to avoid other similar issues in the future.
2018-10-22 16:45:02 +02:00
..
api_generator.cpp Fix some cppcheck errors 2018-10-04 18:16:04 +02:00
api_generator.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
godot_nativescript.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
nativescript.cpp Fixes crash when loading *.escn resources with gdnative #20141 2018-10-22 16:45:02 +02:00
nativescript.h Fix some OSX and iOS Clang warnings 2018-10-04 11:50:16 +02:00
register_types.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
register_types.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
SCsub SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00