summaryrefslogtreecommitdiff
path: root/thirdparty/bullet/LinearMath/btGeometryUtil.cpp
diff options
context:
space:
mode:
authorMaarten Heremans <maarten.heremans@dynactionize.com>2018-10-22 16:45:02 +0200
committerMaarten Heremans <maarten.heremans@dynactionize.com>2018-10-22 16:45:02 +0200
commitcf09952b6bfd93901a38fe3bc398973fbeb9d4f9 (patch)
tree783e812b6bcf9a18d56df88125cd4f0cf1bc1638 /thirdparty/bullet/LinearMath/btGeometryUtil.cpp
parent955a913a1fcc7551a3e03017eb2ac8edc4ee7043 (diff)
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.
Diffstat (limited to 'thirdparty/bullet/LinearMath/btGeometryUtil.cpp')
0 files changed, 0 insertions, 0 deletions