void-packages/srcpkgs/mrxvt/patches/mrxvt-0.5.4-001-fix-segfaul...

14 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;