public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/glib2] cve-2026-58016-f44: Another fix
@ 2026-08-11 10:33 Matthias Clasen
0 siblings, 0 replies; only message in thread
From: Matthias Clasen @ 2026-08-11 10:33 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-11 10:33 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:33 [rpms/glib2] cve-2026-58016-f44: Another fix Matthias Clasen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox