ls -l segfault + [PATCH]
Luciano Miguel Ferreira Rocha
strange at nsk.no-ip.org
Mon Mar 19 11:22:37 UTC 2007
On Mon, Mar 19, 2007 at 12:03:07PM +0100, Jan Evert van Grootheest wrote:
> I tried to figure out the code in tryexec. Can anyone explain how this will not exit the shell for a safe applet? Or does that exit(a->main()) something different than explained in man 3 exit?
It won't exit the shell because the function is running in a child process,
not the main one.
> Another funny thing is that ls -lF /bin does not crash!
>
> Does that explain why adding LS_COLORS to the environment is not visible in the ls output?
>
I don't know the internals of busybox's ls to comment on that.
--
lfr
0/0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20070319/737a32fb/attachment-0002.pgp
More information about the busybox
mailing list