--- nono/host/hostwindrv.cpp 2026/04/29 17:05:30 1.1.1.2 +++ nono/host/hostwindrv.cpp 2026/04/29 17:05:43 1.1.1.3 @@ -48,7 +48,7 @@ HostWindrv::InitRootPath(const std::stri // ルートパスのほうは末尾の '/' なし。 // ゲストパスが必ず '/' から始まるため。 - while (*rootpath.rbegin() == '/') { + while (rootpath.empty() == false && rootpath.back() == '/') { rootpath.pop_back(); } if (rootpath.empty()) {