[PATCH]: lash: Bug fix. Avoid trying to open a NULL path.

Rob Landley rob at landley.net
Sun Jul 9 10:11:41 PDT 2006


On Friday 07 July 2006 6:03 pm, Shaun Jackman wrote:
> If lash starts up in non-interactive mode, it refuses to read its
> input from standard input. Instead it will attempt to open
> argv[optind], which may be NULL.

Applied.

For future reference, could you give me a reproduction sequence for bugs when 
it's only one or two lines?  Saves me going through the code going "ok, can 
this bug actually be hit?"

Thanks,

Rob
-- 
Never bet against the cheap plastic solution.


More information about the busybox mailing list