[patch] prevent ash executing non-files

Rob Landley rob at landley.net
Tue Sep 12 20:23:22 UTC 2006


On Monday 11 September 2006 11:53 am, walter harms wrote:
> i admit i did not understand your problem until to saw the program.
> the situation is different:

Your situation is different.  If the first argument isn't a script, we should 
exit with an error.  That's in the shell setup code, and bbsh handles it by 
using xfopen(argv[optind]).  Alas, ash isn't fully busyboxified...

Rob
-- 
Never bet against the cheap plastic solution.



More information about the busybox mailing list