From ecc870126050f658f0d5d48202ae8d8cf377c8b6 Mon Sep 17 00:00:00 2001 From: drfrag Date: Sun, 27 Jul 2025 20:53:07 +0200 Subject: [PATCH] - Fix crash in FileSystem::ReadFile when loading empty lumps. --- src/common/filesystem/source/filesystem.cpp | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/common/filesystem/source/filesystem.cpp b/src/common/filesystem/source/filesystem.cpp index db18f6090..026984993 100644 --- a/src/common/filesystem/source/filesystem.cpp +++ b/src/common/filesystem/source/filesystem.cpp @@ -1247,13 +1247,16 @@ unsigned FileSystem::GetFilesInFolder(const char *inpath, std::vector