ISO: Add empty path check to iso_archive::retrieve

This commit is contained in:
Functionable 2026-01-07 18:36:25 +00:00 committed by Elad
parent 095f433f8e
commit 38daf8d325

View file

@ -263,6 +263,8 @@ iso_archive::iso_archive(const std::string& path)
iso_fs_node* iso_archive::retrieve(const std::string& passed_path)
{
if (passed_path.empty()) return nullptr;
std::string path = std::filesystem::path(passed_path).string();
size_t start = 0;