[BusyBox] run_shell.c

Michael Sternberg MichaelS at boscom.com
Mon Aug 26 09:38:03 UTC 2002


/bin/login from latest CVS version
from 26/8/2002 busybox falling with
SEGFAULT.

Computer is PPC 8xx.

I inserted a few printfs and found out that it
fails when it tries to run shell trying to
add arguments to shell's command line.

The exact line is 64 in file libbb/run_shell.c:
bb_asprintf ( &args0, "-%s", args [0] );

When I commented out the entire 'if' everything
worked..

		Please check.
			Michael.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20020826/c711342c/attachment-0001.htm 


More information about the busybox mailing list