summaryrefslogtreecommitdiff
path: root/xfce-extra/xfce4-notifyd/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-03 21:12:43 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-03 21:12:43 +0000
commit924750a8c767b278c9870be5dcfedced436f1276 (patch)
treed5c93de95fb5c2fa090e76fd12c1535698005868 /xfce-extra/xfce4-notifyd/files
parenta4d4c6a7cf31d8d3248101dbfd654cdc416902ac (diff)
gentoo auto-resync : 03:11:2022 - 21:12:43
Diffstat (limited to 'xfce-extra/xfce4-notifyd/files')
-rw-r--r--xfce-extra/xfce4-notifyd/files/xfce4-notifyd-0.6.4-appinfo-crash.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/xfce-extra/xfce4-notifyd/files/xfce4-notifyd-0.6.4-appinfo-crash.patch b/xfce-extra/xfce4-notifyd/files/xfce4-notifyd-0.6.4-appinfo-crash.patch
new file mode 100644
index 000000000000..5ca1cbda8e53
--- /dev/null
+++ b/xfce-extra/xfce4-notifyd/files/xfce4-notifyd-0.6.4-appinfo-crash.patch
@@ -0,0 +1,27 @@
+From ddf469fe567f1c2f17013f3baa9bd3721cdd32a5 Mon Sep 17 00:00:00 2001
+From: Guido Falsi <mad@madpilot.net>
+Date: Fri, 2 Sep 2022 21:24:34 +0200
+Subject: [PATCH] Fix segfault crash.
+
+---
+ common/xfce-notify-log.c | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/common/xfce-notify-log.c b/common/xfce-notify-log.c
+index d42dc1e..7ccfd42 100644
+--- a/common/xfce-notify-log.c
++++ b/common/xfce-notify-log.c
+@@ -149,7 +149,9 @@ notify_get_from_desktop_file (const gchar *desktop_file, const gchar *key)
+
+ match = matches[0];
+ appinfo = g_desktop_app_info_new (match[0]);
+- value = notify_read_from_desktop_file (g_desktop_app_info_get_filename (appinfo), key);
++ if (appinfo != NULL) {
++ value = notify_read_from_desktop_file (g_desktop_app_info_get_filename (appinfo), key);
++ }
+
+ for (gchar ***p = matches; *p != NULL; p++)
+ g_strfreev (*p);
+--
+GitLab
+