Commit e294b129 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

fix invalid read when no args are supplied

parent 8d80f47c
......@@ -79,7 +79,7 @@ static void list2binbuf(t_binbuf**bbuf, int *n, char**str, int argc,
i=*n;
s=*str;
if(' '==s[i]) {
if(s && ' '==s[i]) {
s[i]=0;
}
}
......
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