Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package gnome-control-center for
openSUSE:Factory checked in at 2026-10-10 14:58:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnome-control-center (Old)
and /work/SRC/openSUSE:Factory/.gnome-control-center.new.3698736 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnome-control-center"
Sat Oct 10 14:58:15 2026 rev:288 rq:1383672 version:50.4
Changes:
--------
---
/work/SRC/openSUSE:Factory/gnome-control-center/gnome-control-center.changes
2026-08-09 21:32:25.588224188 +0200
+++
/work/SRC/openSUSE:Factory/.gnome-control-center.new.3698736/gnome-control-center.changes
2026-10-10 14:58:48.484544863 +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-control-center.spec ++++++
--- /var/tmp/diff_new_pack.GuqzI2/_old 2026-10-10 14:58:49.423584150 +0200
+++ /var/tmp/diff_new_pack.GuqzI2/_new 2026-10-10 14:58:49.425584234 +0200
@@ -37,6 +37,9 @@
Source1: libgxdp-0.gitmodule.tar.xz
Source99: %{name}-rpmlintrc
+# 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
+Patch1: libgnome-volume-control-Avoid-NULL-deref.patch
+
### patches for Leap >= 15 plus SLE >= 15, but not TW
# PATCH-FEATURE-SLE gnome-control-center-system-never-use-gnome-software.patch
bsc#999336 [email protected] -- info: Never search for gnome-software as an
option when checking for updates on SLE and Leap 42.2, because we use
gpk-update-viewer.
Patch1001: gnome-control-center-system-never-use-gnome-software.patch
++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.GuqzI2/_old 2026-10-10 14:58:49.457585573 +0200
+++ /var/tmp/diff_new_pack.GuqzI2/_new 2026-10-10 14:58:49.460585698 +0200
@@ -1,6 +1,7 @@
-mtime: 1785505935
-commit: ff0d62f5d5cfaecf76cbbbf93202303517a4be0a214f4f924fafe8313c775e7a
+mtime: 1791440375
+commit: 3d60d9dea8e8a435a80e43c9dcd81018581902bd4a10b899cf0481401721db7b
url: https://src.opensuse.org/GNOME/gnome-control-center
-revision: ff0d62f5d5cfaecf76cbbbf93202303517a4be0a214f4f924fafe8313c775e7a
+revision: 3d60d9dea8e8a435a80e43c9dcd81018581902bd4a10b899cf0481401721db7b
+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:19:35.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,