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: Fix a possible crash in application launching (bgo#527132)
Date: Tue, 11 Aug 2026 10:33:43 GMT	[thread overview]
Message-ID: <178644442389.1.2499077355205744404.rpms-glib2-157605997df1@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/glib2
Branch : cve-2026-58016-f44
Commit : 157605997df1f9e5bf07050d0a4c8630c1148089
Author : Matthias Clasen <mclasen@fedoraproject.org>
Date   : 2008-04-09T15:00:24+00:00
Stats  : +27/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/glib2/c/157605997df1f9e5bf07050d0a4c8630c1148089?branch=cve-2026-58016-f44

Log:
Fix a possible crash in application launching (bgo#527132)

---
diff --git a/appinfo.patch b/appinfo.patch
new file mode 100644
index 0000000..ff78a87
--- /dev/null
+++ b/appinfo.patch
@@ -0,0 +1,19 @@
+diff -up glib-2.16.3/gio/gdesktopappinfo.c.appinfo glib-2.16.3/gio/gdesktopappinfo.c
+--- glib-2.16.3/gio/gdesktopappinfo.c.appinfo	2008-04-09 10:57:31.000000000 -0400
++++ glib-2.16.3/gio/gdesktopappinfo.c	2008-04-09 10:57:43.000000000 -0400
+@@ -1514,7 +1514,6 @@ g_app_info_create_from_commandline (cons
+     info->exec = g_strconcat (commandline, " %u", NULL);
+   else
+     info->exec = g_strconcat (commandline, " %f", NULL);
+-  info->comment = g_strdup_printf (_("Custom definition for %s"), info->name);
+   info->nodisplay = TRUE;
+   info->binary = binary_from_exec (info->exec);
+   
+@@ -1530,6 +1529,7 @@ g_app_info_create_from_commandline (cons
+       if (info->name == NULL)
+ 	info->name = g_strdup ("custom");
+     }
++  info->comment = g_strdup_printf (_("Custom definition for %s"), info->name);
+   
+   return G_APP_INFO (info);
+ }

diff --git a/glib2.spec b/glib2.spec
index 9886a9b..f805f40 100644
--- a/glib2.spec
+++ b/glib2.spec
@@ -3,7 +3,7 @@
 Summary: A library of handy utility functions
 Name: glib2
 Version: 2.16.3
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: LGPLv2+
 Group: System Environment/Libraries
 URL: http://www.gtk.org
@@ -19,6 +19,9 @@ BuildRequires: libselinux-devel
 # for sys/inotify.h
 BuildRequires: glibc-devel
 
+# fix a possible crasher, http://bugzilla.gnome.org/show_bug.cgi?id=527132
+Patch0: appinfo.patch
+
 %description 
 GLib is the low-level core library that forms the basis
 for projects such as GTK+ and GNOME. It provides data structure
@@ -50,6 +53,7 @@ of version 2 of the GLib library.
 
 %prep
 %setup -q -n glib-%{version}
+%patch0 -p1 -b .appinfo
 
 %build
 %configure --disable-gtk-doc --enable-static 
@@ -122,6 +126,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/lib*.a
 
 %changelog
+* Wed Apr  9 2008 Matthias Clasen <mclasen@redhat.com> - 2.16.3-2
+- Fix a possible crash in application launching (bgo#527132)
+
 * Tue Apr  8 2008 Matthias Clasen <mclasen@redhat.com> - 2.16.3-1
 - Update to 2.16.3
 

                 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=178644442389.1.2499077355205744404.rpms-glib2-157605997df1@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