diff options
Diffstat (limited to 'desktop/j4-dmenu-desktop/fix_segfault.diff')
-rw-r--r-- | desktop/j4-dmenu-desktop/fix_segfault.diff | 11 |
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 0000000000..32bfca11c8 --- /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++; + |