mysterious segfault with busybox 1.13.0 ash
Natanael Copa
natanael.copa at gmail.com
Wed Nov 19 19:57:51 UTC 2008
Hi,
I have not been able to reproduce it in a small test script but it
happens exactly here:
http://dev.alpinelinux.org/cgit/cgit.cgi/alpine-baselayout/tree/init.d/runtimes#n178
row 178.
I suspect it is related to the ! operator. If I insert:
! false && echo foo
the script will segfault and no "foo" will be echoed.
If i insert:
false || echo foo
the "foo" will be echoed and ash segfaults, at the "if ! tar ..."
Unfortunally, I'm not able to reproduce in a smaller script.
ideas on how to narrow it down?
-nc
More information about the busybox
mailing list