diff options
| author | Andreas Haas | 2017-04-02 09:46:51 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2017-04-05 08:18:59 +0200 |
| commit | 1620f46f03cf064fed26c04cd6a7738e18b5228d (patch) | |
| tree | e0c31c45e15452331f1a040d2104c092aeeca11c /drivers/unix/dir_access_unix.cpp | |
| parent | 1a1e25bfca9cd3558872d41ed1a8d065e823a0f2 (diff) | |
| download | godot-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/dir_access_unix.cpp')
0 files changed, 0 insertions, 0 deletions
