-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
73 changed files
with
15,819 additions
and
853 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
AusweisApp2 1.22.5 | ||
^^^^^^^^^^^^^^^^^^ | ||
|
||
**Releasedatum:** 14. April 2022 | ||
|
||
|
||
Anwender | ||
"""""""" | ||
- Aktualisierung der Release Notes wurde korrigiert. | ||
|
||
- Unter Windows 10 wird die Fenstergröße nach einer | ||
Sprachumstellung nicht mehr geändert. | ||
|
||
- Kleinere Fehlerbehebungen und Optimierungen. | ||
|
||
|
||
Entwickler | ||
"""""""""" | ||
- Unter bestimmten Umständen war es möglich, dass | ||
das SDK kein INSERT_CARD gesendet hat. | ||
|
||
- Aktualisierung von OpenSSL auf die Version 1.1.1n. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ Release Notes | |
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
1.22.5 | ||
1.22.4 | ||
1.22.3 | ||
1.22.2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ Versionszweig 1.22 | |
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
1.22.5 | ||
1.22.4 | ||
1.22.3 | ||
1.22.2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
94 changes: 94 additions & 0 deletions
94
libs/patches/qt-base-0025-QProcess-Unix-ensure-we-don-t-accidentally-execute-s.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
From c606b2ab1a020922545b809c69ace8498a5c4cc8 Mon Sep 17 00:00:00 2001 | ||
From: Thiago Macieira <[email protected]> | ||
Date: Mon, 31 Jan 2022 11:00:19 -0800 | ||
Subject: QProcess/Unix: ensure we don't accidentally execute something from | ||
CWD | ||
MIME-Version: 1.0 | ||
Content-Type: text/plain; charset=UTF-8 | ||
Content-Transfer-Encoding: 8bit | ||
|
||
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 | ||
|
||
[ChangeLog][Important Behavior Changes] When passed a simple program | ||
name with no slashes, QProcess on Unix systems will now only search the | ||
current directory if "." is one of the entries in the PATH environment | ||
variable. This bug fix restores the behavior QProcess had before Qt 5.9. | ||
If launching an executable in the directory set by setWorkingDirectory() | ||
or inherited from the parent is intended, pass a program name starting | ||
with "./". For more information and best practices about finding an | ||
executable, see QProcess' documentation. | ||
|
||
Change-Id: I54f205f6b7314351b078fffd16cf7013c97ee9fb | ||
Reviewed-by: Qt CI Bot <[email protected]> | ||
Reviewed-by: Mårten Nordheim <[email protected]> | ||
Reviewed-by: Thiago Macieira <[email protected]> | ||
(cherry picked from commit 29fceed2ffb41954a63001414bd042611f2d4980) | ||
Reviewed-by: Qt Cherry-pick Bot <[email protected]> | ||
(cherry picked from commit ab6915f0efb12cfe48d1f126f4a828212f853ce5) | ||
--- | ||
src/corelib/io/qprocess_unix.cpp | 26 ++++++++++++++------------ | ||
1 file changed, 14 insertions(+), 12 deletions(-) | ||
|
||
diff --git x/qtbase/src/corelib/io/qprocess_unix.cpp y/qtbase/src/corelib/io/qprocess_unix.cpp | ||
index 50390e57f5..7beaa33f30 100644 | ||
--- x/qtbase/src/corelib/io/qprocess_unix.cpp | ||
+++ y/qtbase/src/corelib/io/qprocess_unix.cpp | ||
@@ -422,14 +422,15 @@ void QProcessPrivate::startProcess() | ||
// Add the program name to the argument list. | ||
argv[0] = nullptr; | ||
if (!program.contains(QLatin1Char('/'))) { | ||
+ // findExecutable() returns its argument if it's an absolute path, | ||
+ // otherwise it searches $PATH; returns empty if not found (we handle | ||
+ // that case much later) | ||
const QString &exeFilePath = QStandardPaths::findExecutable(program); | ||
- if (!exeFilePath.isEmpty()) { | ||
- const QByteArray &tmp = QFile::encodeName(exeFilePath); | ||
- argv[0] = ::strdup(tmp.constData()); | ||
- } | ||
- } | ||
- if (!argv[0]) | ||
+ const QByteArray &tmp = QFile::encodeName(exeFilePath); | ||
+ argv[0] = ::strdup(tmp.constData()); | ||
+ } else { | ||
argv[0] = ::strdup(encodedProgramName.constData()); | ||
+ } | ||
|
||
// Add every argument to the list | ||
for (int i = 0; i < arguments.count(); ++i) | ||
@@ -983,15 +984,16 @@ bool QProcessPrivate::startDetached(qint64 *pid) | ||
envp = _q_dupEnvironment(environment.d.constData()->vars, &envc); | ||
} | ||
|
||
- QByteArray tmp; | ||
if (!program.contains(QLatin1Char('/'))) { | ||
+ // findExecutable() returns its argument if it's an absolute path, | ||
+ // otherwise it searches $PATH; returns empty if not found (we handle | ||
+ // that case much later) | ||
const QString &exeFilePath = QStandardPaths::findExecutable(program); | ||
- if (!exeFilePath.isEmpty()) | ||
- tmp = QFile::encodeName(exeFilePath); | ||
+ const QByteArray &tmp = QFile::encodeName(exeFilePath); | ||
+ argv[0] = ::strdup(tmp.constData()); | ||
+ } else { | ||
+ argv[0] = ::strdup(QFile::encodeName(program)); | ||
} | ||
- if (tmp.isEmpty()) | ||
- tmp = QFile::encodeName(program); | ||
- argv[0] = tmp.data(); | ||
|
||
if (envp) | ||
qt_safe_execve(argv[0], argv, envp); | ||
-- | ||
2.35.1 | ||
|
Oops, something went wrong.