[patch] prevent ash executing non-files
walter harms
wharms at bfs.de
Wed Sep 13 08:57:45 UTC 2006
hi rob,
i do not think xfopen/xopen would change the situation since it can not decide
between regular and not regular files. will not attempt to busyboxify since
it would create a new problem before things are consolidated to a shell that
is more sh/posix compartibel without become to large to be use.
Your rewriting (aka bbsh) is understandable (i tried to find some things ...
so error report without a patch) but we have ash now and it is working i much
system (especially in mine :). therefore i would ask this patch to be applied.
re,
wh
Rob Landley wrote:
> 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
More information about the busybox
mailing list