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

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 05 Feb 2023 05:15:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268652

--- Comment #59 from Tatsuki Makino <tatsuki_makino@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.