ls -l segfault + [PATCH]

Luciano Miguel Ferreira Rocha strange at nsk.no-ip.org
Mon Mar 19 10:35:00 UTC 2007


On Mon, Mar 19, 2007 at 08:26:46AM +0100, Jan Evert van Grootheest wrote:
> Hmm, it crashes for me also with ls -la /bin...
> And it doesn't crash in strace (or gdb) here too.

Busybox has a feature that allows calling applet_main() instead of
exec(self, applet, args...). It might be that there's some changed data
that causes the SEGV.

Change the function is_safe_applet, in shell/ash.c, to always return
false (0), and check if the SEGV disappears.

-- 
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/062e5590/attachment-0002.pgp 


More information about the busybox mailing list