public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Stef Walter <stefw@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/glib2] cve-2026-58016-f44: Fix regression in encoding of array of doubles
Date: Tue, 11 Aug 2026 10:35:43 GMT	[thread overview]
Message-ID: <178644454308.1.13127208768169384118.rpms-glib2-d143a7bba644@fedoraproject.org> (raw)

            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
 

                 reply	other threads:[~2026-08-11 10:35 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=178644454308.1.13127208768169384118.rpms-glib2-d143a7bba644@fedoraproject.org \
    --to=stefw@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