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: Another fix
Date: Tue, 11 Aug 2026 10:33:36 GMT	[thread overview]
Message-ID: <178644441688.1.17948639178406429415.rpms-glib2-f142979080e6@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/glib2
Branch : cve-2026-58016-f44
Commit : f142979080e6e5c92b158dc5b322f0e7b9ff571b
Author : Matthias Clasen <mclasen@fedoraproject.org>
Date   : 2007-12-22T18:55:18+00:00
Stats  : +14/-8 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/glib2/c/f142979080e6e5c92b158dc5b322f0e7b9ff571b?branch=cve-2026-58016-f44

Log:
Another fix

---
diff --git a/desktopfiles.patch b/desktopfiles.patch
index 39de44b..e73dcfa 100644
--- a/desktopfiles.patch
+++ b/desktopfiles.patch
@@ -1,6 +1,6 @@
 diff -up glib-2.15.0/gio/gdesktopappinfo.c.desktopfiles glib-2.15.0/gio/gdesktopappinfo.c
---- glib-2.15.0/gio/gdesktopappinfo.c.desktopfiles	2007-12-22 12:43:05.000000000 -0500
-+++ glib-2.15.0/gio/gdesktopappinfo.c	2007-12-22 12:43:17.000000000 -0500
+--- glib-2.15.0/gio/gdesktopappinfo.c.desktopfiles	2007-12-20 10:20:45.000000000 -0500
++++ glib-2.15.0/gio/gdesktopappinfo.c	2007-12-22 13:39:30.000000000 -0500
 @@ -920,10 +920,10 @@ static gboolean
  g_desktop_app_info_supports_uris (GAppInfo *appinfo)
  {
@@ -53,18 +53,21 @@ diff -up glib-2.15.0/gio/gdesktopappinfo.c.desktopfiles glib-2.15.0/gio/gdesktop
    int i;
    GList *infos;
  
-@@ -1695,8 +1697,8 @@ g_app_info_get_all (void)
+@@ -1695,8 +1697,11 @@ g_app_info_get_all (void)
  
    infos = NULL;
    g_hash_table_iter_init (&iter, apps);
 -  while (g_hash_table_iter_next (&iter, &key, NULL))
 -    infos = g_list_prepend (infos, key);
 +  while (g_hash_table_iter_next (&iter, NULL, &value))
-+    infos = g_list_prepend (infos, value);
++    {
++      if (value)
++        infos = g_list_prepend (infos, value);
++    }
  
    g_hash_table_destroy (apps);
  
-@@ -2142,13 +2144,13 @@ append_desktop_entry (GList      *list, 
+@@ -2142,13 +2147,13 @@ append_desktop_entry (GList      *list, 
   * get_all_desktop_entries_for_mime_type:
   * @mime_type: a mime type.
   *
@@ -82,8 +85,8 @@ diff -up glib-2.15.0/gio/gdesktopappinfo.c.desktopfiles glib-2.15.0/gio/gdesktop
  static GList *
  get_all_desktop_entries_for_mime_type (const char *base_mime_type)
 diff -up glib-2.15.0/gio/gappinfo.c.desktopfiles glib-2.15.0/gio/gappinfo.c
---- glib-2.15.0/gio/gappinfo.c.desktopfiles	2007-12-22 12:42:57.000000000 -0500
-+++ glib-2.15.0/gio/gappinfo.c	2007-12-22 12:43:17.000000000 -0500
+--- glib-2.15.0/gio/gappinfo.c.desktopfiles	2007-12-20 10:20:45.000000000 -0500
++++ glib-2.15.0/gio/gappinfo.c	2007-12-22 13:38:09.000000000 -0500
 @@ -139,6 +139,9 @@ g_app_info_equal (GAppInfo *appinfo1,
   * platform dependent. For instance on Unix this is the
   * desktop file id from the xdg menu specification.

diff --git a/glib2.spec b/glib2.spec
index eb460e6..8cb2a6e 100644
--- a/glib2.spec
+++ b/glib2.spec
@@ -3,7 +3,7 @@
 Summary: A library of handy utility functions
 Name: glib2
 Version: 2.15.0
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: LGPLv2+
 Group: System Environment/Libraries
 URL: http://www.gtk.org
@@ -126,6 +126,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/lib*.a
 
 %changelog
+* Sat Dec 22 2007 Matthias Clasen <mclasen@redhat.com> - 2.15.0-4
+- Another attempt
+
 * Sat Dec 22 2007 Matthias Clasen <mclasen@redhat.com> - 2.15.0-3
 - Fix some errors in desktop files handling
 

                 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=178644441688.1.17948639178406429415.rpms-glib2-f142979080e6@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