public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Matthias Clasen <mclasen@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/glib2] cve-2026-58016-f44: Don't use __abort_msg from glibc
Date: Tue, 11 Aug 2026 10:34:16 GMT [thread overview]
Message-ID: <178644445696.1.13863461134036376818.rpms-glib2-b2329ca8a3a3@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/glib2
Branch : cve-2026-58016-f44
Commit : b2329ca8a3a3bdd9164fbf0366199a4dd92f7cd8
Author : Matthias Clasen <mclasen@fedoraproject.org>
Date : 2010-01-25T23:37:08+00:00
Stats : +24/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/glib2/c/b2329ca8a3a3bdd9164fbf0366199a4dd92f7cd8?branch=cve-2026-58016-f44
Log:
Don't use __abort_msg from glibc
---
diff --git a/glib-abort-msg.patch b/glib-abort-msg.patch
new file mode 100644
index 0000000..c8e173c
--- /dev/null
+++ b/glib-abort-msg.patch
@@ -0,0 +1,17 @@
+diff -up glib-2.23.2/glib/gtestutils.c.abort_msg glib-2.23.2/glib/gtestutils.c
+--- glib-2.23.2/glib/gtestutils.c.abort_msg 2010-01-25 18:32:10.793495994 -0500
++++ glib-2.23.2/glib/gtestutils.c 2010-01-25 18:33:23.898497049 -0500
+@@ -40,7 +40,12 @@
+ #ifdef HAVE_SYS_SELECT_H
+ #include <sys/select.h>
+ #endif /* HAVE_SYS_SELECT_H */
+-
++
++/* We can't use the libc variable, since rpm doesn't let us depend on
++ * GLIBC_PRIVATE symbols.
++ */
++#undef HAVE_LIBC_ABORT_MSG
++
+ /* if we have a recent enough glibc, use its __abort_msg variable for storing
+ * assertion messages (just like assert()). If not, declare our own variable,
+ * so that platforms with older glibc or different libc implementations can use
diff --git a/glib2.spec b/glib2.spec
index f065bc7..c70b25c 100644
--- a/glib2.spec
+++ b/glib2.spec
@@ -3,7 +3,7 @@
Summary: A library of handy utility functions
Name: glib2
Version: 2.23.2
-Release: 1%{?dist}
+Release: 2%{?dist}
License: LGPLv2+
Group: System Environment/Libraries
URL: http://www.gtk.org
@@ -22,6 +22,9 @@ BuildRequires: zlib-devel
BuildRequires: automake autoconf libtool
BuildRequires: gtk-doc
+# http://bugzilla.gnome.org/show_bug.cgi?id=594872
+Patch0: glib-abort-msg.patch
+
%description
GLib is the low-level core library that forms the basis
for projects such as GTK+ and GNOME. It provides data structure
@@ -154,6 +157,9 @@ esac
%{_libdir}/lib*.a
%changelog
+* Mon Jan 25 2010 Matthias Clasen <mclasen@redhat.com> - 2.23.2-2
+- Drop the dependency on a GLIBC_PRIVATE symbol
+
* Mon Jan 25 2010 Matthias Clasen <mclasen@redhat.com> - 2.23.2-1
- Update to 2.23.2
reply other threads:[~2026-08-11 10:34 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=178644445696.1.13863461134036376818.rpms-glib2-b2329ca8a3a3@fedoraproject.org \
--to=mclasen@fedoraproject.org \
--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