Commit 4a22c2fe authored by gi1242's avatar gi1242

Fix segfault if workingDirectory is empty. (Bug introduced when we expand...

Fix segfault if workingDirectory is empty. (Bug introduced when we expand workingDirectory using wordexp)
parent 08b4ef42
......@@ -1327,7 +1327,7 @@ rxvt_append_page( rxvt_t* r, int profile,
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment