summaryrefslogtreecommitdiff
path: root/user/kpmcore/nullptr-segfault.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-02-26 03:33:46 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-02-26 03:33:46 +0000
commit6eeed821a5e2f4fe00c8e0b283056770a8ee5594 (patch)
tree0c4efe552865b5df892defe5756ed715a21fc136 /user/kpmcore/nullptr-segfault.patch
parente700ca50e8cd731d384abe4dbde06b3f6abd2578 (diff)
downloadpackages-6eeed821a5e2f4fe00c8e0b283056770a8ee5594.tar.gz
packages-6eeed821a5e2f4fe00c8e0b283056770a8ee5594.tar.bz2
packages-6eeed821a5e2f4fe00c8e0b283056770a8ee5594.tar.xz
packages-6eeed821a5e2f4fe00c8e0b283056770a8ee5594.zip
user/kpmcore: Bump to 4.1.0
Diffstat (limited to 'user/kpmcore/nullptr-segfault.patch')
-rw-r--r--user/kpmcore/nullptr-segfault.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/user/kpmcore/nullptr-segfault.patch b/user/kpmcore/nullptr-segfault.patch
deleted file mode 100644
index 3caeecbdf..000000000
--- a/user/kpmcore/nullptr-segfault.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From c02d59aa6d314678cef9683f96b28e2a1abd82b7 Mon Sep 17 00:00:00 2001
-From: Hartmut Goebel <h.goebel@crazy-compilers.com>
-Date: Thu, 7 Nov 2019 22:16:36 +0000
-Subject: Stop helper only if formerly started.
-
-Differential Revision: https://phabricator.kde.org/D25161
-BUG: 413851
----
- src/util/externalcommand.cpp | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/src/util/externalcommand.cpp b/src/util/externalcommand.cpp
-index 30b98a2..6f45127 100644
---- a/src/util/externalcommand.cpp
-+++ b/src/util/externalcommand.cpp
-@@ -433,6 +433,8 @@ bool ExternalCommand::startHelper()
-
- void ExternalCommand::stopHelper()
- {
-+ if (!helperStarted)
-+ return;
- auto *interface = new org::kde::kpmcore::externalcommand(QStringLiteral("org.kde.kpmcore.externalcommand"),
- QStringLiteral("/Helper"), QDBusConnection::systemBus());
- QByteArray request;
-@@ -441,6 +443,7 @@ void ExternalCommand::stopHelper()
- QByteArray hash = QCryptographicHash::hash(request, QCryptographicHash::Sha512);
- interface->exit(privateKey->signMessage(hash, QCA::EMSA3_Raw), nonce);
-
-+ helperStarted = false;
- delete privateKey;
- delete init;
- }
---
-cgit v1.1
-