[BusyBox] run_shell.c
Vladimir N. Oleynik
dzo at simtreas.ru
Wed Aug 28 09:24:03 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..
Thanks for productive help.
I long thinking and found original idea:
uclibc have vasprintf now
(but have your found problem if disable memory stream for PPC arch).
New version bb_asprintf is trivial.
Patch in attach.
--w
vodz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: last_patch53.gz
Type: application/x-gzip
Size: 973 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20020828/1ccb457a/attachment.bin
More information about the busybox
mailing list