From 4e3a39a2e816272b4b29fc7f9d807d6e34b2100e Mon Sep 17 00:00:00 2001 From: Artemy Fedotov Date: Thu, 11 Sep 2025 14:25:49 +0400 Subject: [PATCH] Fix crash due to null pointer dereference when moving/renaming folders in `FileSystemDock` --- editor/docks/filesystem_dock.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/docks/filesystem_dock.cpp b/editor/docks/filesystem_dock.cpp index 1a663d069aa..f46baf302f0 100644 --- a/editor/docks/filesystem_dock.cpp +++ b/editor/docks/filesystem_dock.cpp @@ -2032,6 +2032,7 @@ void FileSystemDock::_before_move(HashMap &r_uids, Hash } } else { EditorFileSystemDirectory *current_folder = EditorFileSystem::get_singleton()->get_filesystem_path(to_move[i].path); + ERR_CONTINUE(current_folder == nullptr); List folders; folders.push_back(current_folder); while (folders.front()) {