Fix screencast proxy bus name
Without this, the fix for CVE-2024-34397 would break the screen recorder. Resolves: RHEL-36166
This commit is contained in:
parent
5b7b717f90
commit
8ebbe4db8f
@ -23,6 +23,9 @@ Patch: optional-portal-helper.patch
|
|||||||
# downstream patch to stop trying on configuration errors.
|
# downstream patch to stop trying on configuration errors.
|
||||||
Patch: 0001-gdm-Work-around-failing-fingerprint-auth.patch
|
Patch: 0001-gdm-Work-around-failing-fingerprint-auth.patch
|
||||||
|
|
||||||
|
# https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3303
|
||||||
|
Patch: screencast-bus-name.patch
|
||||||
|
|
||||||
# GDM/Lock stuff
|
# GDM/Lock stuff
|
||||||
Patch: 0001-screenShield-unblank-when-inserting-smartcard.patch
|
Patch: 0001-screenShield-unblank-when-inserting-smartcard.patch
|
||||||
Patch: enforce-smartcard-at-unlock.patch
|
Patch: enforce-smartcard-at-unlock.patch
|
||||||
|
34
screencast-bus-name.patch
Normal file
34
screencast-bus-name.patch
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
From 50a011a19dcc6997ea6173c07bb80b2d9888d363 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Simon McVittie <smcv@debian.org>
|
||||||
|
Date: Mon, 6 May 2024 21:58:09 +0100
|
||||||
|
Subject: [PATCH] screencast: Correct expected bus name for streams
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
Previously, this only worked because GDBusConnection was not filtering
|
||||||
|
signals by their sender correctly (GNOME/glib#3268).
|
||||||
|
|
||||||
|
Thanks: Alicia Boya GarcÃa
|
||||||
|
Signed-off-by: Simon McVittie <smcv@debian.org>
|
||||||
|
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3303>
|
||||||
|
---
|
||||||
|
js/dbusServices/screencast/screencastService.js | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/js/dbusServices/screencast/screencastService.js b/js/dbusServices/screencast/screencastService.js
|
||||||
|
index d664a51b083..0645811fa0a 100644
|
||||||
|
--- a/js/dbusServices/screencast/screencastService.js
|
||||||
|
+++ b/js/dbusServices/screencast/screencastService.js
|
||||||
|
@@ -340,7 +340,7 @@ class Recorder extends Signals.EventEmitter {
|
||||||
|
});
|
||||||
|
|
||||||
|
this._streamProxy = new ScreenCastStreamProxy(Gio.DBus.session,
|
||||||
|
- 'org.gnome.ScreenCast.Stream',
|
||||||
|
+ 'org.gnome.Mutter.ScreenCast',
|
||||||
|
streamPath);
|
||||||
|
|
||||||
|
this._streamProxy.connectSignal('PipeWireStreamAdded',
|
||||||
|
--
|
||||||
|
GitLab
|
||||||
|
|
Loading…
Reference in New Issue
Block a user