Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package gnome-settings-daemon for
openSUSE:Factory checked in at 2026-10-10 14:58:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnome-settings-daemon (Old)
and /work/SRC/openSUSE:Factory/.gnome-settings-daemon.new.3698736 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnome-settings-daemon"
Sat Oct 10 14:58:15 2026 rev:213 rq:1383673 version:50.1+6
Changes:
--------
---
/work/SRC/openSUSE:Factory/gnome-settings-daemon/gnome-settings-daemon.changes
2026-06-23 17:40:10.556836551 +0200
+++
/work/SRC/openSUSE:Factory/.gnome-settings-daemon.new.3698736/gnome-settings-daemon.changes
2026-10-10 14:58:49.879603229 +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-settings-daemon.spec ++++++
--- /var/tmp/diff_new_pack.5WbSwT/_old 2026-10-10 14:58:50.756639922 +0200
+++ /var/tmp/diff_new_pack.5WbSwT/_new 2026-10-10 14:58:50.758640006 +0200
@@ -46,6 +46,8 @@
Patch4: 0001-usb-protection-Treat-hubs-and-HID-devices-like-any-o.patch
# PATCH-FEATURE-OPENSUSE -- Sorry GNOME, but pestering users like this is not
welcome. We will add a Support GNOME into our welcome app thogh
Patch5: g-s-d-skip-donation.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
+Patch6: libgnome-volume-control-Avoid-NULL-deref.patch
## SLE/LEAP-only patches start at 1000
# PATCH-FEATURE-OPENSUSE gnome-settings-daemon-notify-idle-resumed.patch
bnc#439018 bnc#708182 bgo#575467 [email protected] -- notify user about auto
suspend when returning from sleep
++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.5WbSwT/_old 2026-10-10 14:58:50.791641386 +0200
+++ /var/tmp/diff_new_pack.5WbSwT/_new 2026-10-10 14:58:50.794641512 +0200
@@ -1,6 +1,7 @@
-mtime: 1781894336
-commit: 9b86657c7179378aa2914f26a534bf9e06904e0308b230e4a0ce49d65a719a06
+mtime: 1791440269
+commit: 6a86a4bbbefb1845fecc3a118e4d37cf9d90320fe2895b65f931204ce5bac751
url: https://src.opensuse.org/GNOME/gnome-settings-daemon
-revision: 9b86657c7179378aa2914f26a534bf9e06904e0308b230e4a0ce49d65a719a06
+revision: 6a86a4bbbefb1845fecc3a118e4d37cf9d90320fe2895b65f931204ce5bac751
+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:17:49.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,