diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-06-06 18:36:18 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-06-10 17:29:41 +0200 |
commit | 8fde89eed0ae11fe40ad778f975445294ba1b6be (patch) | |
tree | 8b57aff220fd8b06976a5392f9fe8aeeb5d9777e /kde-misc/kio-fuse/files/kio-fuse-5.0.0-fix-segfault-on-links-1.patch | |
parent | kde-misc/latte-dock: Drop 0.9.11 (diff) | |
download | gentoo-8fde89eed0ae11fe40ad778f975445294ba1b6be.tar.gz gentoo-8fde89eed0ae11fe40ad778f975445294ba1b6be.tar.bz2 gentoo-8fde89eed0ae11fe40ad778f975445294ba1b6be.zip |
kde-misc/kio-fuse: Drop 5.0.0-r1
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-misc/kio-fuse/files/kio-fuse-5.0.0-fix-segfault-on-links-1.patch')
-rw-r--r-- | kde-misc/kio-fuse/files/kio-fuse-5.0.0-fix-segfault-on-links-1.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/kde-misc/kio-fuse/files/kio-fuse-5.0.0-fix-segfault-on-links-1.patch b/kde-misc/kio-fuse/files/kio-fuse-5.0.0-fix-segfault-on-links-1.patch deleted file mode 100644 index 7ef61ca22028..000000000000 --- a/kde-misc/kio-fuse/files/kio-fuse-5.0.0-fix-segfault-on-links-1.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 1ee510baa80c834bbcf77a008e5668dbf3eccf4d Mon Sep 17 00:00:00 2001 -From: Alexander Saoutkin <a.saoutkin@gmail.com> -Date: Sat, 2 Jan 2021 20:01:16 +0000 -Subject: [PATCH] Check return value of createNodeFromUDSEntry() - -createNodeFromUDSEntry() can return a nullptr, which it does when -passed any URL from the baloosearch protocol. - -BUG: 431079 ---- - kiofusevfs.cpp | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/kiofusevfs.cpp b/kiofusevfs.cpp -index 6f275cb..fbf6e27 100644 ---- a/kiofusevfs.cpp -+++ b/kiofusevfs.cpp -@@ -393,6 +393,11 @@ void KIOFuseVFS::findAndCreateOrigin(QUrl url, QStringList pathElements, std::fu - if(!finalNode) - { - finalNode = createNodeFromUDSEntry(statJob->statResult(), currentNode->m_stat.st_ino, targetPathComponents.last()); -+ if(!finalNode) -+ { -+ qWarning(KIOFUSE_LOG) << "Unable to create a valid final node for" << url << "from its UDS Entry"; -+ return callback({}, EIO); -+ } - insertNode(finalNode); - } - --- -GitLab - |