--- kio-5.110.0.orig/src/ioslaves/file/file_unix.cpp +++ kio-5.110.0/src/ioslaves/file/file_unix.cpp @@ -328,6 +328,9 @@ inline static time_t stat_mtime(const QT static bool isOnCifsMount(const QString &filePath) { const auto mount = KMountPoint::currentMountPoints().findByPath(filePath); + if (!mount) { + return false; + } return mount->mountType() == QStringLiteral("cifs") || mount->mountType() == QStringLiteral("smb3"); }