commit:     a7f4aecbf52c48a09536a13e85122ddae60613e4
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 14 07:31:09 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 14 07:31:09 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7f4aecb

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 <AT> gentoo.org>

 .../qtwayland-5.15.10-Destroy-frame-queue-before-display.patch   | 9 +++++++++
 1 file changed, 9 insertions(+)

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 <[email protected]>
 Date: Tue, 11 Apr 2023 14:27:27 +0200

Reply via email to