godot/modules/gdnative
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
..
android Add access for GDNative modules to some platform dependent internals on Android 2018-06-19 17:49:23 +10:00
arvr SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00
doc_classes doc: Sync classref with current source 2018-08-21 00:35:46 +02:00
gdnative [GDNative] add Variant::Operator 2018-09-13 17:23:38 +02:00
include Fix GDNative build warning on Android [-Wignored-attributes] 2018-10-03 14:23:04 +02:00
nativescript Fixes crash when loading *.escn resources with gdnative #20141 2018-10-22 16:45:02 +02:00
net SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00
pluginscript SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00
config.py doc: Sync classref with current source 2018-07-26 11:56:21 +02:00
gdnative_api.json [GDNative] add Variant::Operator 2018-09-13 17:23:38 +02:00
gdnative_builders.py [GDNative] add initial core 1.1 extension 2018-08-30 19:18:55 +02:00
gdnative_library_editor_plugin.cpp Merge pull request #15246 from vnen/uwp-gdnative 2018-01-01 22:47:22 -02:00
gdnative_library_editor_plugin.h Fix inconsistencies and typos in argument names 2018-02-01 16:47:20 +01:00
gdnative_library_singleton_editor.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
gdnative_library_singleton_editor.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
gdnative.cpp Merge pull request #21982 from luzpaz/misc-typos 2018-09-13 10:59:00 +02:00
gdnative.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
register_types.cpp Fix various warnings: [-Waddress], [-Wpointer-arith], [-Wwrite-strings], [-Wreturn-local-addr] and more 2018-09-27 16:33:52 +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