diff --git a/Ghidra/Features/Base/src/main/java/ghidra/formats/gfilesystem/FileSystemIndexHelper.java b/Ghidra/Features/Base/src/main/java/ghidra/formats/gfilesystem/FileSystemIndexHelper.java index 6db9614b61..844b465a2a 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/formats/gfilesystem/FileSystemIndexHelper.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/formats/gfilesystem/FileSystemIndexHelper.java @@ -72,6 +72,7 @@ public class FileSystemIndexHelper { public FileSystemIndexHelper(GFileSystem fs, FSRLRoot fsFSRL) { GFile rootGFile = GFileImpl.fromFSRL(fs, null, fsFSRL.withPath("/"), true, -1); rootDir = new FileData<>(rootGFile, null, -1); + fileToEntryMap.put(rootDir.file, rootDir); directoryToListing.put(rootDir.file, new HashMap<>()); }