[BusyBox] run_shell.c

Vladimir N. Oleynik dzo at simtreas.ru
Mon Aug 26 10:40:48 UTC 2002


Michael,

> /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..

I havn`t PPC arch. And you not put your libc version.
Please change libbb/bb_asprintf.c to debug version 
from attach and put me result.


--w
vodz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bb_asprintf.c.gz
Type: application/x-gzip
Size: 998 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20020826/a6bd951d/attachment.bin 


More information about the busybox mailing list