Go to file
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
bin Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
config.tests Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
debian Import Debian changes 5.15.3+dfsg-ok1 2022-05-14 17:39:14 +08:00
dist Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
doc Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
examples Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
include Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
lib Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
mkspecs Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
qmake Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
src QProcess: ensure we don't accidentally execute something from CWD 2022-05-14 17:41:01 +08:00
tests QProcess: ensure we don't accidentally execute something from CWD 2022-05-14 17:41:01 +08:00
util Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
.QT-ENTERPRISE-LICENSE-AGREEMENT Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
.QT-FOR-APPLICATION-DEVELOPMENT-LICENSE-AGREEMENT Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
.QT-FOR-AUTOMATION-LICENSE-AGREEMENT Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
.QT-FOR-AUTOMOTIVE-LICENSE-AGREEMENT Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
.QT-FOR-DEVICE-CREATION-LICENSE-AGREEMENT Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
.qmake.conf Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
.release-timestamp Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
.tag Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
INSTALL Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
LICENSE.FDL Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
LICENSE.GPL2 Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
LICENSE.GPL3 Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
LICENSE.GPL3-EXCEPT Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
LICENSE.LGPL3 Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
LICENSE.LGPLv3 Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
LICENSE.QT-LICENSE-AGREEMENT Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
config_help.txt Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
configure Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
configure.bat Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
configure.json Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
configure.pri Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
qtbase.pro Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
sync.profile Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00