[BusyBox] Possible ash bug?

Manuel Novoa III mjn3 at busybox.net
Sat Aug 11 14:49:26 UTC 2001


Aaron,

On Fri, Aug 10, 2001 at 03:05:37PM -0700, Aaron Lehmann wrote:
> Look at simplecmd(). In the TLP case, isn't n being dereferenced as a
> NULL pointer? Or am I on crack?

You may want to look at the loop more closely.  The code you are referring
to is in the "then" clause of an "if".  It will only be executed if, among
other coditions, "args" is not NULL.  The only way _that_ can happen is
if a TWORD was seen first... which implies that "n" has already been
initialized.

So... I must logically conclude that you are on crack.  ;-)

Manuel





More information about the busybox mailing list