On Wed, 2008-11-19 at 20:57 +0100, Natanael Copa wrote:
> 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

...

Actually, I was able to create a smaller test script immediatly after i
posted the previous mail:

#!/bin/sh

func() {
        ! false && echo foo
}

! false && echo "no problem"
func


it will echo "no problem" and then segfault.

interestingly enough, this happens only on a grsecurity kernel, but not
on a default gentoo kernel (in chroot). tested in kvm only so far.

-nc

_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to