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: Fix occasional misbehaviour of g_timeout_add_seconds
Date: Tue, 11 Aug 2026 10:33:42 GMT [thread overview]
Message-ID: <178644442297.1.6151881471295004919.rpms-glib2-89c9d4c9738e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/glib2
Branch : cve-2026-58016-f44
Commit : 89c9d4c9738ed12d600804eb1efb754e155b6b72
Author : Matthias Clasen <mclasen@fedoraproject.org>
Date : 2008-04-03T05:42:42+00:00
Stats : +19/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/glib2/c/89c9d4c9738ed12d600804eb1efb754e155b6b72?branch=cve-2026-58016-f44
Log:
Fix occasional misbehaviour of g_timeout_add_seconds
---
diff --git a/glib2.spec b/glib2.spec
index 8c86ff6..01a57a5 100644
--- a/glib2.spec
+++ b/glib2.spec
@@ -3,7 +3,7 @@
Summary: A library of handy utility functions
Name: glib2
Version: 2.16.2
-Release: 1%{?dist}
+Release: 2%{?dist}
License: LGPLv2+
Group: System Environment/Libraries
URL: http://www.gtk.org
@@ -19,6 +19,8 @@ BuildRequires: libselinux-devel
# for sys/inotify.h
BuildRequires: glibc-devel
+# fixed in upstream svn
+Patch0: timeout-wrap.patch
%description
GLib is the low-level core library that forms the basis
@@ -51,6 +53,7 @@ of version 2 of the GLib library.
%prep
%setup -q -n glib-%{version}
+%patch0 -p1 -b .timeout-wrap
%build
%configure --disable-gtk-doc --enable-static
@@ -123,6 +126,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/lib*.a
%changelog
+* Thu Apr 3 2008 Matthias Clasen <mclasen@redhat.com> - 2.16.2-2
+- Fix occasional misbehaviour of g_timeout_add_seconds
+
* Tue Apr 1 2008 Matthias Clasen <mclasen@redhat.com> - 2.16.2-1
- Update to 2.16.2
diff --git a/timeout-wrap.patch b/timeout-wrap.patch
new file mode 100644
index 0000000..b05947b
--- /dev/null
+++ b/timeout-wrap.patch
@@ -0,0 +1,12 @@
+diff -up glib-2.16.2/glib/gmain.c.timeout-wrap glib-2.16.2/glib/gmain.c
+--- glib-2.16.2/glib/gmain.c.timeout-wrap 2008-04-03 01:39:46.000000000 -0400
++++ glib-2.16.2/glib/gmain.c 2008-04-03 01:40:08.000000000 -0400
+@@ -3320,7 +3320,7 @@ g_timeout_set_expiration (GTimeoutSource
+ if (!session_bus_address)
+ session_bus_address = g_getenv ("HOSTNAME");
+ if (session_bus_address)
+- timer_perturb = g_str_hash (session_bus_address);
++ timer_perturb = ABS (g_str_hash (session_bus_address));
+ else
+ timer_perturb = 0;
+ }
reply other threads:[~2026-08-11 10:33 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=178644442297.1.6151881471295004919.rpms-glib2-89c9d4c9738e@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