public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: David King <amigadave@amigadave.com>
To: git-commits@fedoraproject.org
Subject: [rpms/glib2] cve-2026-58016-f44: Update to 2.76.0
Date: Tue, 11 Aug 2026 10:37:54 GMT	[thread overview]
Message-ID: <178644467436.1.16043912760143835996.rpms-glib2-7f5cc4141378@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/glib2
Branch : cve-2026-58016-f44
Commit : 7f5cc414137840b52444d8e611a1aa9b2167fac0
Author : David King <amigadave@amigadave.com>
Date   : 2023-03-12T08:06:11+00:00
Stats  : +3/-61 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/glib2/c/7f5cc414137840b52444d8e611a1aa9b2167fac0?branch=cve-2026-58016-f44

Log:
Update to 2.76.0

---
diff --git a/glib2-2.75.4-fix-etag-gjs.patch b/glib2-2.75.4-fix-etag-gjs.patch
deleted file mode 100644
index e3e1490..0000000
--- a/glib2-2.75.4-fix-etag-gjs.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-From 4e62e55d6d0109012869a589eae2371e836e9cb3 Mon Sep 17 00:00:00 2001
-From: Philip Withnall <pwithnall@endlessos.org>
-Date: Mon, 6 Mar 2023 13:02:41 +0000
-Subject: [PATCH] gfile: Check ETag attribute is present before trying to get
- it
-
-A regression from issue #2907.
-
-Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
-
-Fixes: #2932
----
- gio/gfile.c            | 4 ++--
- gio/gpollfilemonitor.c | 4 +++-
- 2 files changed, 5 insertions(+), 3 deletions(-)
-
-diff --git a/gio/gfile.c b/gio/gfile.c
-index 84353cb44c..7cfe1ffb4d 100644
---- a/gio/gfile.c
-+++ b/gio/gfile.c
-@@ -7773,7 +7773,7 @@ g_file_load_contents (GFile         *file,
-                                              NULL);
-       if (info)
-         {
--          *etag_out = g_strdup (g_file_info_get_etag (info));
-+          *etag_out = g_file_info_has_attribute (info, G_FILE_ATTRIBUTE_ETAG_VALUE) ? g_strdup (g_file_info_get_etag (info)) : NULL;
-           g_object_unref (info);
-         }
-     }
-@@ -7847,7 +7847,7 @@ load_contents_fstat_callback (GObject      *obj,
-                                                 stat_res, NULL);
-   if (info)
-     {
--      data->etag = g_strdup (g_file_info_get_etag (info));
-+      data->etag = g_file_info_has_attribute (info, G_FILE_ATTRIBUTE_ETAG_VALUE) ? g_strdup (g_file_info_get_etag (info)) : NULL;
-       g_object_unref (info);
-     }
- 
-diff --git a/gio/gpollfilemonitor.c b/gio/gpollfilemonitor.c
-index 685ede964e..c4dfd99132 100644
---- a/gio/gpollfilemonitor.c
-+++ b/gio/gpollfilemonitor.c
-@@ -89,7 +89,9 @@ calc_event_type (GFileInfo *last,
-   if (last != NULL && new == NULL)
-     return G_FILE_MONITOR_EVENT_DELETED;
- 
--  if (g_strcmp0 (g_file_info_get_etag (last), g_file_info_get_etag (new)))
-+  if (g_file_info_has_attribute (last, G_FILE_ATTRIBUTE_ETAG_VALUE) &&
-+      g_file_info_has_attribute (new, G_FILE_ATTRIBUTE_ETAG_VALUE) &&
-+      g_strcmp0 (g_file_info_get_etag (last), g_file_info_get_etag (new)) != 0)
-     return G_FILE_MONITOR_EVENT_CHANGED;
-   
-   if (g_file_info_get_size (last) != g_file_info_get_size (new))
--- 
-GitLab
-

diff --git a/glib2.spec b/glib2.spec
index e0601aa..b4e9dae 100644
--- a/glib2.spec
+++ b/glib2.spec
@@ -1,18 +1,16 @@
 Name:    glib2
-Version: 2.75.4
+Version: 2.76.0
 Release: %autorelease
 Summary: A library of handy utility functions
 
 License: LGPL-2.1-or-later
 URL:     https://www.gtk.org
-Source0: https://download.gnome.org/sources/glib/2.75/glib-%{version}.tar.xz
+Source0: https://download.gnome.org/sources/glib/2.76/glib-%{version}.tar.xz
 
 # Required for RHEL core crypto components policy. Good for Fedora too.
 # https://bugzilla.redhat.com/show_bug.cgi?id=1630260
 # https://gitlab.gnome.org/GNOME/glib/-/merge_requests/903
 Patch0: gnutls-hmac.patch
-# https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3312.patch
-Patch1: glib2-2.75.4-fix-etag-gjs.patch
 
 BuildRequires: gcc
 BuildRequires: gcc-c++

diff --git a/sources b/sources
index 763f5d4..fac6511 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (glib-2.75.4.tar.xz) = 520ebedb54d6b2ab5771452b9fec331ebf32a12b8b6590ae0edc70db5f1b7af89865e4ba9ecf189464fe82312c2e0fa03a5cbff0ab2e8cc16d41705c605c6d91
+SHA512 (glib-2.76.0.tar.xz) = 812834ca6d840dd9c15c0689685d8bd96f4acd69a89213f807a75732d1aa5efadbed0e0073f05a56a09beb2d4f0be1b83a4642259682aac84302632da2d62370

                 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=178644467436.1.16043912760143835996.rpms-glib2-7f5cc4141378@fedoraproject.org \
    --to=amigadave@amigadave.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