qtbase-opensource-src/tests/auto/widgets
Debian Qt/KDE Maintainers 377c552430 QProcess: ensure we don't accidentally execute something from CWD
Unless "." (or the empty string) is in $PATH, we're not supposed to find
executables in the current directory. This is how the Unix shells behave
and we match their behavior. It's also the behavior Qt had prior to 5.9
(commit 28666d167aa8e602c0bea25ebc4d51b55005db13). On Windows, searching
the current directory is the norm, so we keep that behavior.

This commit does not add an explicit check for an empty return from
QStandardPaths::findExecutable(). Instead, we allow that empty string to
go all the way to execve(2), which will fail with ENOENT. We could catch
it early, before fork(2), but why add code for the error case?

See https://kde.org/info/security/advisory-20220131-1.txt
Origin: upstream, https://download.qt.io/official_releases/qt/5.15/CVE-2022-25255-qprocess5-15.diff
Last-Update: 2022-02-21

Gbp-Pq: Name CVE-2022-25255.diff
2022-05-14 17:41:01 +08:00
..
dialogs Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
effects Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
graphicsview Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
itemviews Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
kernel QProcess: ensure we don't accidentally execute something from CWD 2022-05-14 17:41:01 +08:00
styles fix recursion crash when calling setStyleSheet with qproperty-styleSheet 2022-05-14 17:41:00 +08:00
util Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
widgets fix placement of placeholder text in QLineEdits with action icons 2022-05-14 17:41:00 +08:00
widgets.pro Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00