aboutsummaryrefslogtreecommitdiff
path: root/drivers/unix/os_unix.cpp
diff options
context:
space:
mode:
authorAndreas Haas2017-04-02 09:46:51 +0200
committerRémi Verschelde2017-04-05 08:18:59 +0200
commit1620f46f03cf064fed26c04cd6a7738e18b5228d (patch)
treee0c31c45e15452331f1a040d2104c092aeeca11c /drivers/unix/os_unix.cpp
parent1a1e25bfca9cd3558872d41ed1a8d065e823a0f2 (diff)
downloadgodot-1620f46f03cf064fed26c04cd6a7738e18b5228d.tar.gz
godot-1620f46f03cf064fed26c04cd6a7738e18b5228d.tar.zst
godot-1620f46f03cf064fed26c04cd6a7738e18b5228d.zip
Viewport: Fix undefined behaviour found by llvm sanitizer.
When godot was running as the project manager, it tried to call a method on a null pointer (get_tree()->get_edited_scene_root()). This is undefined behaviour and caused a crash when compiled with sanitizing enabled. (cherry picked from commit 1d3c9c448d805d0813a67efdd6677c312d72bb32)
Diffstat (limited to 'drivers/unix/os_unix.cpp')
0 files changed, 0 insertions, 0 deletions