Forget to set final argv entry to NULL, breaking sh.c amoung
other things...
This commit is contained in:
parent
7da312058c
commit
8c28fd7849
@ -203,6 +203,7 @@ int busybox_main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
while(index<=index2)
|
while(index<=index2)
|
||||||
*index++='\0';
|
*index++='\0';
|
||||||
|
argv[ps_index]=NULL;
|
||||||
|
|
||||||
return (main(argc, argv));
|
return (main(argc, argv));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user