diff options
Diffstat (limited to 'main/mrxvt/mrxvt-0.5.4-002-fix-segfault-when-wd-empty.patch')
-rw-r--r-- | main/mrxvt/mrxvt-0.5.4-002-fix-segfault-when-wd-empty.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/main/mrxvt/mrxvt-0.5.4-002-fix-segfault-when-wd-empty.patch b/main/mrxvt/mrxvt-0.5.4-002-fix-segfault-when-wd-empty.patch new file mode 100644 index 0000000000..c9af740e50 --- /dev/null +++ b/main/mrxvt/mrxvt-0.5.4-002-fix-segfault-when-wd-empty.patch @@ -0,0 +1,12 @@ +diff -ru a/src/tabbar.c b/src/tabbar.c +--- a/src/tabbar.c 2009-08-19 21:12:48.000000000 +0000 ++++ b/src/tabbar.c 2009-08-19 21:13:35.000000000 +0000 +@@ -1314,7 +1314,7 @@ + if( p.we_wordc > 1) + rxvt_msg( DBG_ERROR, DBG_TABBAR, + "Too many words when expanding %s\n", cwdOption ); +- else ++ else if( NOT_NULL( *p.we_wordv ) ) + { + filename = *p.we_wordv; + |