public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/glib2] cve-2026-58016-f44: Fix regression in encoding of array of doubles
@ 2026-08-11 10:35 Stef Walter
0 siblings, 0 replies; only message in thread
From: Stef Walter @ 2026-08-11 10:35 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/glib2
Branch : cve-2026-58016-f44
Commit : d143a7bba644ca8336f32996cf5d3d4883e0ff74
Author : Stef Walter <stefw@redhat.com>
Date : 2014-07-23T09:33:03-04:00
Stats : +36/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/glib2/c/d143a7bba644ca8336f32996cf5d3d4883e0ff74?branch=cve-2026-58016-f44
Log:
Fix regression in encoding of array of doubles
rhbz#1122128
---
diff --git a/gio-Fix-regression-encoding-an-array-of-doubles.patch b/gio-Fix-regression-encoding-an-array-of-doubles.patch
new file mode 100644
index 0000000..4093602
--- /dev/null
+++ b/gio-Fix-regression-encoding-an-array-of-doubles.patch
@@ -0,0 +1,29 @@
+From 869a5d38d6004d3f636f3a01e029a81e545c1c51 Mon Sep 17 00:00:00 2001
+From: Stef Walter <stefw@gnome.org>
+Date: Tue, 22 Jul 2014 21:29:27 +0200
+Subject: [PATCH] gio: Fix regression encoding an array of doubles
+
+Take the simple slow path in this case. Encoding a double
+takes special precautions as you can see in append_value_to_blob()
+and friends.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=732754
+---
+ gio/gdbusmessage.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gio/gdbusmessage.c b/gio/gdbusmessage.c
+index cd995b8..4173bcc 100644
+--- a/gio/gdbusmessage.c
++++ b/gio/gdbusmessage.c
+@@ -1219,7 +1219,7 @@ get_type_fixed_size (const GVariantType *type)
+ return 2;
+ case 'i': case 'u': case 'h':
+ return 4;
+- case 'x': case 't': case 'd':
++ case 'x': case 't':
+ return 8;
+ default:
+ return 0;
+--
+1.9.3
\ No newline at end of file
diff --git a/glib2.spec b/glib2.spec
index 6dcf397..9c2ca73 100644
--- a/glib2.spec
+++ b/glib2.spec
@@ -3,13 +3,15 @@
Summary: A library of handy utility functions
Name: glib2
Version: 2.41.2
-Release: 1%{?dist}
+Release: 2%{?dist}
License: LGPLv2+
Group: System Environment/Libraries
URL: http://www.gtk.org
#VCS: git:git://git.gnome.org/glib
Source: http://download.gnome.org/sources/glib/2.41/glib-%{version}.tar.xz
+Patch1: gio-Fix-regression-encoding-an-array-of-doubles.patch
+
BuildRequires: pkgconfig
BuildRequires: gettext
BuildRequires: libattr-devel
@@ -81,6 +83,7 @@ the functionality of the installed glib2 package.
%prep
%setup -q -n glib-%{version}
+%patch1 -p1
# Workaround wrong gtk-doc.make timestamp
# https://bugzilla.gnome.org/show_bug.cgi?id=700350
@@ -223,6 +226,9 @@ gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules
%{_datadir}/installed-tests
%changelog
+* Wed Jul 23 2014 Stef Walter <stefw@redhat.com> - 2.41.2-2
+- Fix regression with GDBus array encoding rhbz#1122128
+
* Mon Jul 14 2014 Kalev Lember <kalevlember@gmail.com> - 2.41.2-1
- Update to 2.41.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-11 10:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-11 10:35 [rpms/glib2] cve-2026-58016-f44: Fix regression in encoding of array of doubles Stef Walter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox