summaryrefslogtreecommitdiff
path: root/dev-qt
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-07-14 08:31:09 +0100
committerSam James <sam@gentoo.org>2023-07-14 08:31:09 +0100
commita7f4aecbf52c48a09536a13e85122ddae60613e4 (patch)
tree1b758c70a5075cce4419a5cc28e8f3f802dbaa11 /dev-qt
parentdev-qt/qtwayland: backport use-after-free fix to 5.15.10-r1 (diff)
downloadgentoo-a7f4aecbf52c48a09536a13e85122ddae60613e4.tar.gz
gentoo-a7f4aecbf52c48a09536a13e85122ddae60613e4.tar.bz2
gentoo-a7f4aecbf52c48a09536a13e85122ddae60613e4.zip
dev-qt/qtwayland: throw in some more detail to patch description
I've put this in the MR but not in the commit message for the MR because I'm not sure they want commentary there. Bug: https://bugs.gentoo.org/910315 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-qt')
-rw-r--r--dev-qt/qtwayland/files/qtwayland-5.15.10-Destroy-frame-queue-before-display.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/dev-qt/qtwayland/files/qtwayland-5.15.10-Destroy-frame-queue-before-display.patch b/dev-qt/qtwayland/files/qtwayland-5.15.10-Destroy-frame-queue-before-display.patch
index 9844d25dbebf..1fdf08dc7487 100644
--- a/dev-qt/qtwayland/files/qtwayland-5.15.10-Destroy-frame-queue-before-display.patch
+++ b/dev-qt/qtwayland/files/qtwayland-5.15.10-Destroy-frame-queue-before-display.patch
@@ -1,6 +1,15 @@
https://bugs.gentoo.org/910315
https://invent.kde.org/qt/qt/qtwayland/-/merge_requests/73
+Reported downstream in Gentoo at https://bugs.gentoo.org/910315.
+
+`kde/5.15` has b981fc82eb37700353949c72d3fd6d0887c8c107 ('[PATCH 27/51] Reduce memory leakage')
+backported but this introduces a use-after-free because `wl_event_queue_destroy` must be called
+before `wl_display_disconnect`. So, just backport the upstream fix which sorts out the order.
+
+Upstream review: https://codereview.qt-project.org/c/qt/qtwayland/+/471416
+Upstream review (6.x): https://codereview.qt-project.org/c/qt/qtwayland/+/471528
+
From 3a8613b91d2239aebc73b43562f929aa71af0de5 Mon Sep 17 00:00:00 2001
From: David Redondo <qt@david-redondo.de>
Date: Tue, 11 Apr 2023 14:27:27 +0200