mirror of
https://git.busybox.net/busybox
synced 2026-01-31 16:43:21 +00:00
Forget to set final argv entry to NULL, breaking sh.c amoung
other things...
This commit is contained in:
parent
7da312058c
commit
8c28fd7849
2 changed files with 2 additions and 0 deletions
|
|
@ -203,6 +203,7 @@ int busybox_main(int argc, char **argv)
|
|||
}
|
||||
while(index<=index2)
|
||||
*index++='\0';
|
||||
argv[ps_index]=NULL;
|
||||
|
||||
return (main(argc, argv));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -203,6 +203,7 @@ int busybox_main(int argc, char **argv)
|
|||
}
|
||||
while(index<=index2)
|
||||
*index++='\0';
|
||||
argv[ps_index]=NULL;
|
||||
|
||||
return (main(argc, argv));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue