Package: mrxvt / 0.5.4-2

03segfault_wd_empty.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Subject: Fix a null-pointer dereference segfault.

--- a/src/tabbar.c
+++ b/src/tabbar.c
@@ -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;