[Bug 268652] Qt5: Some apps fails to start after upgrading to 5.15.8

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 5 05:15:25 GMT 2023


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268652

--- Comment #59 from Tatsuki Makino <tatsuki_makino at hotmail.com> ---
(In reply to Tomoaki AOKI from comment #58)

The values are scraped from /usr/local/libdata/ldconfig/* files.
I don't know when and how they are used :)
In this case, the problem is during the dynamic loading of the plugin, so it is
likely that the correct path is not in the results in the following.
https://github.com/qt/qtbase/blob/4ee4fc18b4067b90efa46ca9baba74f53b54d9ec/src/corelib/plugin/qfactoryloader.cpp#L191

So I'm curious about the behavior of this part.
https://github.com/qt/qtbase/blob/4ee4fc18b4067b90efa46ca9baba74f53b54d9ec/src/corelib/kernel/qcoreapplication.cpp#L2705

This is where realpath comes in.
https://github.com/qt/qtbase/blob/4ee4fc18b4067b90efa46ca9baba74f53b54d9ec/src/corelib/io/qfilesystemengine_unix.cpp#L709
What were the conditions under which a non-privileged user could run this and
it would fail?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kde-freebsd mailing list