From 924750a8c767b278c9870be5dcfedced436f1276 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 3 Nov 2022 21:12:43 +0000 Subject: gentoo auto-resync : 03:11:2022 - 21:12:43 --- .../files/xfce4-notifyd-0.6.4-appinfo-crash.patch | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 xfce-extra/xfce4-notifyd/files/xfce4-notifyd-0.6.4-appinfo-crash.patch (limited to 'xfce-extra/xfce4-notifyd/files') 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 +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 + -- cgit v1.2.3