aboutsummaryrefslogtreecommitdiff
path: root/desktop/j4-dmenu-desktop/fix_segfault.diff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2013-07-06 00:44:43 -0500
committerNiels Horn <niels.horn@slackbuilds.org>2013-07-07 09:11:51 -0300
commit86c1caa9147a66993a4e61eea6166582d766a968 (patch)
treed466f6ede8804b23a461f0546e518e637d719ced /desktop/j4-dmenu-desktop/fix_segfault.diff
parent4a0815bfa8a67cd781365e7469d76acb93249967 (diff)
desktop/j4-dmenu-desktop: Added (dmenu menu generator)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'desktop/j4-dmenu-desktop/fix_segfault.diff')
-rw-r--r--desktop/j4-dmenu-desktop/fix_segfault.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/desktop/j4-dmenu-desktop/fix_segfault.diff b/desktop/j4-dmenu-desktop/fix_segfault.diff
new file mode 100644
index 0000000000000..32bfca11c8755
--- /dev/null
+++ b/desktop/j4-dmenu-desktop/fix_segfault.diff
@@ -0,0 +1,11 @@
+diff -Naur j4-dmenu-desktop-master/src/desktop.cc j4-dmenu-desktop-master.patched/src/desktop.cc
+--- j4-dmenu-desktop-master/src/desktop.cc 2013-05-19 11:46:03.000000000 -0400
++++ j4-dmenu-desktop-master.patched/src/desktop.cc 2013-06-28 05:39:19.000000000 -0400
+@@ -59,6 +59,7 @@
+ char *key=line, *value;
+ // Split that string in place
+ value = strchr(line, '=');
++ if(!value) continue;
+ value[0] = 0;
+ value++;
+