diff options
author | 2016-10-14 09:59:40 +0200 | |
---|---|---|
committer | 2016-10-14 10:22:22 +0200 | |
commit | 743e84d6a370cd8ad771b20caab43c55eb1a6bb7 (patch) | |
tree | 9fb50cff3396ca298e2c51f981f8cdb2021ede9f /kde-plasma/kde-cli-tools/files | |
parent | net-irc/hexchat: Minor correction to the previous commit. (diff) | |
download | gentoo-743e84d6a370cd8ad771b20caab43c55eb1a6bb7.tar.gz gentoo-743e84d6a370cd8ad771b20caab43c55eb1a6bb7.tar.bz2 gentoo-743e84d6a370cd8ad771b20caab43c55eb1a6bb7.zip |
kde-plasma: Remove KDE Plasma 5.6.5
Package-Manager: portage-2.3.2
Diffstat (limited to 'kde-plasma/kde-cli-tools/files')
-rw-r--r-- | kde-plasma/kde-cli-tools/files/kde-cli-tools-5.6.5-CVE-2016-7787.patch | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/kde-plasma/kde-cli-tools/files/kde-cli-tools-5.6.5-CVE-2016-7787.patch b/kde-plasma/kde-cli-tools/files/kde-cli-tools-5.6.5-CVE-2016-7787.patch deleted file mode 100644 index cce11d8b4f5c..000000000000 --- a/kde-plasma/kde-cli-tools/files/kde-cli-tools-5.6.5-CVE-2016-7787.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 5eda179a099ba68a20dc21dc0da63e85a565a171 Mon Sep 17 00:00:00 2001 -From: Martin Sandsmark <martin.sandsmark@kde.org> -Date: Fri, 9 Sep 2016 09:05:57 +0200 -Subject: [PATCH] Make sure people are not trying to sneak invisible characters - on the kdesu label - -i18n: Sorry for the new string - -CCMAIL: kde-i18n-doc@kde.org ---- - kdesu/kdesu.cpp | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -diff --git a/kdesu/kdesu.cpp b/kdesu/kdesu.cpp -index b7a66a2..b0efbc7 100644 ---- a/kdesu/kdesu.cpp -+++ b/kdesu/kdesu.cpp -@@ -162,6 +162,10 @@ int main(int argc, char *argv[]) - { - KMessageBox::sorry(0, i18n("Cannot execute command '%1'.", QString::fromLocal8Bit(command))); - } -+ if (result == -2) -+ { -+ KMessageBox::sorry(0, i18n("Cannot execute command '%1'. It contains invalid characters.", QString::fromLocal8Bit(command))); -+ } - - return result; - } -@@ -387,6 +391,12 @@ static int startApp(QCommandLineParser& p) - qDebug() << "Don't need password!!\n"; - } - -+ for (const QChar character : QString::fromLocal8Bit(command)) { -+ if (!character.isPrint() && character.category() != QChar::Other_Surrogate) { -+ return -2; -+ } -+ } -+ - // Start the dialog - QString password; - if (needpw) --- -2.7.3 - |