https://bugs.kde.org/show_bug.cgi?id=513176

--- Comment #2 from Matthias Gerstner <[email protected]> ---
(In reply to Nicolas Fella from comment #1)
> Have you checked if https://doc.qt.io/qt-6/qstorageinfo.html has a similar
> problem?

The larger problem, i.e. the "resolving of GVFS mount points" is specific to
the KMountPoint API.

The minor problem of of possible local Denial-of-Service or violated data
integrity also seem to affect QStorageInfo, since it performs at least some
naive `stat()` and `open()` operations on the source devices and mount
directories, for example here:

https://github.com/qt/qtbase/blob/5394adcd61eb488d2ddea8cdef839802937353d0/src/corelib/io/qstorageinfo_linux.cpp#L538

So it might be necessary to approach Qt devs as well about this.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to