void-packages/srcpkgs/mrxvt/patches/mrxvt-0.5.4-001-fix-segfault-when-wd-empty.patch
2015-12-26 10:35:06 -07:00

13 lines
380 B
Diff

Index: src/tabbar.c
===================================================================
--- src/tabbar.c (revision 337)
+++ src/tabbar.c (working copy)
@@ -1327,7 +1327,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;