summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-12-23 22:16:41 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-12-23 22:32:42 +0100
commit4aad45800cd19d30050ebc9eb5c39fe94ca4436c (patch)
treec8036bc6c7022e308763b5d80ec9978d7d06737c /kde-frameworks/kio/files
parentkde-apps/dolphin: Drop 20.12.0 (r0) (diff)
downloadgentoo-4aad45800cd19d30050ebc9eb5c39fe94ca4436c.tar.gz
gentoo-4aad45800cd19d30050ebc9eb5c39fe94ca4436c.tar.bz2
gentoo-4aad45800cd19d30050ebc9eb5c39fe94ca4436c.zip
kde-frameworks/kio: Crash fix
Upstream commit 9dc9e26b9196111eeacb5609b36957f74f5a14c4 See also: https://mail.kde.org/pipermail/distributions/2020-December/000913.html KDE-bug: https://bugs.kde.org/show_bug.cgi?id=430374 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/kio/files')
-rw-r--r--kde-frameworks/kio/files/kio-5.77.0-crashfix.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/kde-frameworks/kio/files/kio-5.77.0-crashfix.patch b/kde-frameworks/kio/files/kio-5.77.0-crashfix.patch
new file mode 100644
index 00000000000..d24a0d976c0
--- /dev/null
+++ b/kde-frameworks/kio/files/kio-5.77.0-crashfix.patch
@@ -0,0 +1,29 @@
+From 9dc9e26b9196111eeacb5609b36957f74f5a14c4 Mon Sep 17 00:00:00 2001
+From: Ismael Asensio <isma.af@gmail.com>
+Date: Tue, 22 Dec 2020 22:23:17 +0100
+Subject: [PATCH] RenameDialog: Add missing nullptr initialization
+
+It fixes a crash when pressing `Apply to All` in those cases where
+the action was not present, as the code checks for nullptr
+
+BUG: 430374
+FIXED-IN: 5.78
+---
+ src/widgets/renamedialog.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/widgets/renamedialog.cpp b/src/widgets/renamedialog.cpp
+index ac1d91d2..c3e04753 100644
+--- a/src/widgets/renamedialog.cpp
++++ b/src/widgets/renamedialog.cpp
+@@ -161,6 +161,7 @@ public:
+ bCancel = nullptr;
+ bRename = bSkip = nullptr;
+ bOverwrite = nullptr;
++ bOverwriteWhenOlder = nullptr;
+ bResume = bSuggestNewName = nullptr;
+ bApplyAll = nullptr;
+ m_pLineEdit = nullptr;
+--
+GitLab
+