Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gnome-shell for openSUSE:Factory 
checked in at 2026-10-10 14:58:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnome-shell (Old)
 and      /work/SRC/openSUSE:Factory/.gnome-shell.new.3698736 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnome-shell"

Sat Oct 10 14:58:17 2026 rev:294 rq:1383674 version:50.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/gnome-shell/gnome-shell.changes  2026-09-17 
15:16:27.038492836 +0200
+++ /work/SRC/openSUSE:Factory/.gnome-shell.new.3698736/gnome-shell.changes     
2026-10-10 14:58:51.491670674 +0200
@@ -1,0 +2,7 @@
+Thu Oct  8 01:18:35 UTC 2026 - Xiaoguang Wang <[email protected]>
+
+- Add libgnome-volume-control-Avoid-NULL-deref.patch: Avoid NULL
+  deref when card has no active profile
+  (bsc#1278300 glgo#GNOME/libgnome-volume-control!38)
+
+-------------------------------------------------------------------

New:
----
  libgnome-volume-control-Avoid-NULL-deref.patch

----------(New B)----------
  New:
- Add libgnome-volume-control-Avoid-NULL-deref.patch: Avoid NULL
  deref when card has no active profile
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gnome-shell.spec ++++++
--- /var/tmp/diff_new_pack.T9iSSU/_old  2026-10-10 14:58:52.884728956 +0200
+++ /var/tmp/diff_new_pack.T9iSSU/_new  2026-10-10 14:58:52.885728998 +0200
@@ -40,6 +40,8 @@
 Patch1:         gnome-shell-fix-cursor-on-hide-preedit.patch
 # PATCH-FIX-UPSTREAM fix-ibus-engine-race-condition-on-unlock.patch 
[email protected] glgo#GNOME/gnome-shell!4202 -- Delay IBus reload on 
unlock to prevent race conditions
 Patch2:         fix-ibus-engine-race-condition-on-unlock.patch
+# PATCH-FIX-UPSTREAM libgnome-volume-control-Avoid-NULL-deref.patch 
[email protected] bsc#1278300 glgo#GNOME/libgnome-volume-control!38 -- Avoid NULL 
deref when card has no active profile
+Patch3:         libgnome-volume-control-Avoid-NULL-deref.patch
 
 # PATCH-FEATURE-OPENSUSE -- Do not ask to launch gnome-tour; openSUSE handles 
the logic in opensuse-welcome-launcher
 Patch100:       gnome-shell-no-gnome-tour.patch

++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.T9iSSU/_old  2026-10-10 14:58:52.922730546 +0200
+++ /var/tmp/diff_new_pack.T9iSSU/_new  2026-10-10 14:58:52.924730630 +0200
@@ -1,7 +1,7 @@
-mtime: 1789496567
-commit: 95ed0723fd299123d8a15f70aabd05563108288871cc743ff9456ca77c1e9aaf
+mtime: 1791440113
+commit: 8a9ace15bbef051e60a78ac066985d0c0135c602541a02ba112e8f290beeee32
 url: https://src.opensuse.org/GNOME/gnome-shell
-revision: 95ed0723fd299123d8a15f70aabd05563108288871cc743ff9456ca77c1e9aaf
+revision: 8a9ace15bbef051e60a78ac066985d0c0135c602541a02ba112e8f290beeee32
 trackingbranch: factory
 projectscmsync: https://src.opensuse.org/GNOME/_ObsPrj
 

++++++ build.specials.obscpio ++++++

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2026-10-08 08:15:13.000000000 +0200
@@ -0,0 +1,5 @@
+*.obscpio
+*.osc
+_build.*
+.pbuild
+osc-collab.*

++++++ libgnome-volume-control-Avoid-NULL-deref.patch ++++++
>From 495dd274bd4e9aa1d901b13a530d1e49f3dc7888 Mon Sep 17 00:00:00 2001
From: Ricardo Branco <[email protected]>
Date: Wed, 2 Sep 2026 23:18:54 +0200
Subject: [PATCH] mixer-control: Avoid NULL deref when card has no active
 profile

PulseAudio (and PipeWire's pulse compatibility layer) can report a
card with n_profiles == 0 and active_profile == NULL. update_card()
dereferenced info->active_profile->name unconditionally, both in its
debug logging loop and when calling gvc_mixer_card_set_profile(),
causing a SIGSEGV in any process using GvcMixerControl (e.g.
gnome-settings-daemon's media-keys plugin).

gvc_mixer_card_set_profile() already handles an empty profile list
gracefully, so simply guard both accesses on active_profile being
non-NULL.

Closes: https://gitlab.gnome.org/GNOME/libgnome-volume-control/-/issues/47

Signed-off-by: Ricardo Branco <[email protected]>
---
 gvc-mixer-control.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Index: gnome-shell-48.8/subprojects/gvc/gvc-mixer-control.c
===================================================================
--- gnome-shell-48.8.orig/subprojects/gvc/gvc-mixer-control.c
+++ gnome-shell-48.8/subprojects/gvc/gvc-mixer-control.c
@@ -2545,7 +2545,8 @@ update_card (GvcMixerControl      *contr
                 struct pa_card_profile_info pi = info->profiles[i];
                 gboolean is_default;
 
-                is_default = (g_strcmp0 (pi.name, info->active_profile->name) 
== 0);
+                is_default = (info->active_profile != NULL &&
+                              g_strcmp0 (pi.name, info->active_profile->name) 
== 0);
                 g_debug ("\tProfile '%s': %d sources %d sinks%s",
                          pi.name, pi.n_sources, pi.n_sinks,
                          is_default ? " (Current)" : "");
@@ -2583,7 +2584,8 @@ update_card (GvcMixerControl      *contr
         gvc_mixer_card_set_profiles (card, profile_list);
         gvc_mixer_card_set_name (card, pa_proplist_gets (info->proplist, 
"device.description"));
         gvc_mixer_card_set_icon_name (card, pa_proplist_gets (info->proplist, 
"device.icon_name"));
-        gvc_mixer_card_set_profile (card, info->active_profile->name);
+        if (info->active_profile != NULL)
+                gvc_mixer_card_set_profile (card, info->active_profile->name);
 
         if (is_new) {
                 g_hash_table_insert (control->priv->cards,

Reply via email to