public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Adam Williamson <awilliam@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/glib2] cve-2026-58016-f44: Fix #2169622 for now by reverting the problematic commit
Date: Tue, 11 Aug 2026 10:37:52 GMT [thread overview]
Message-ID: <178644467248.1.15242115101879422526.rpms-glib2-466bbb73bff5@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/glib2
Branch : cve-2026-58016-f44
Commit : 466bbb73bff54e5ef25a210d8053ea43a1f9d9a4
Author : Adam Williamson <awilliam@redhat.com>
Date : 2023-02-14T17:21:14-08:00
Stats : +40/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/glib2/c/466bbb73bff54e5ef25a210d8053ea43a1f9d9a4?branch=cve-2026-58016-f44
Log:
Fix #2169622 for now by reverting the problematic commit
This isn't a long-term / upstreamable fix but it will at least
let rpm-ostree work in F38/Rawhide for now while we work out a
proper fix.
---
diff --git a/0002-Revert-gio-gdbusserver-use-non-abstract-socket-for-u.patch b/0002-Revert-gio-gdbusserver-use-non-abstract-socket-for-u.patch
new file mode 100644
index 0000000..538af30
--- /dev/null
+++ b/0002-Revert-gio-gdbusserver-use-non-abstract-socket-for-u.patch
@@ -0,0 +1,34 @@
+From 74bf5dc0985f3e1f90db322a8119f451ecdc52c4 Mon Sep 17 00:00:00 2001
+From: Adam Williamson <awilliam@redhat.com>
+Date: Tue, 14 Feb 2023 16:52:49 -0800
+Subject: [PATCH 2/2] Revert "gio/gdbusserver: use non-abstract socket for
+ unix:tmpdir="
+
+This reverts commit c0a1a3b384a27b4b18628174a5c4d9f3fb0a8c82.
+---
+ gio/gdbusserver.c | 9 ++++++++-
+ 1 file changed, 8 insertions(+), 1 deletion(-)
+
+diff --git a/gio/gdbusserver.c b/gio/gdbusserver.c
+index db0c9ab50..f144d129a 100644
+--- a/gio/gdbusserver.c
++++ b/gio/gdbusserver.c
+@@ -725,7 +725,14 @@ try_unix (GDBusServer *server,
+ for (n = 0; n < 8; n++)
+ g_string_append_c (s, random_ascii ());
+
+- address = g_unix_socket_address_new (s->str);
++ /* prefer abstract namespace if available for tmpdir: addresses
++ * abstract namespace is disallowed for dir: addresses */
++ if (tmpdir != NULL && g_unix_socket_address_abstract_names_supported ())
++ address = g_unix_socket_address_new_with_type (s->str,
++ -1,
++ G_UNIX_SOCKET_ADDRESS_ABSTRACT);
++ else
++ address = g_unix_socket_address_new (s->str);
+ g_string_free (s, TRUE);
+
+ local_error = NULL;
+--
+2.39.1
+
diff --git a/glib2.spec b/glib2.spec
index 98e1e0d..ebd33ea 100644
--- a/glib2.spec
+++ b/glib2.spec
@@ -11,6 +11,12 @@ Source0: https://download.gnome.org/sources/glib/2.75/glib-%{version}.tar.xz
# https://bugzilla.redhat.com/show_bug.cgi?id=1630260
# https://gitlab.gnome.org/GNOME/glib/-/merge_requests/903
Patch0: gnutls-hmac.patch
+# Fixes a problem with rpm-ostree always failing:
+# https://bugzilla.redhat.com/show_bug.cgi?id=2169622
+# per mcatanzaro, reverting is OK for a short-term downstream
+# fix, correct fix will need to be something different either
+# upstream or in rpm-ostree
+Patch1: 0002-Revert-gio-gdbusserver-use-non-abstract-socket-for-u.patch
BuildRequires: gcc
BuildRequires: gcc-c++
reply other threads:[~2026-08-11 10:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178644467248.1.15242115101879422526.rpms-glib2-466bbb73bff5@fedoraproject.org \
--to=awilliam@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox