PKGBUILDs/extra/mrxvt/mrxvt-0.5.4-001-fix-segfault-when-wd-empty.patch

14 lines
380 B
Diff
Raw Normal View History

2009-10-10 02:23:22 +00:00
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;