ash segfault in busybox-1.23

Natanael Copa ncopa at alpinelinux.org
Thu Dec 25 15:59:32 UTC 2014


On Thu, 25 Dec 2014 16:55:09 +0100
Natanael Copa <ncopa at alpinelinux.org> wrote:

> On Thu, 25 Dec 2014 16:38:57 +0100
> Natanael Copa <ncopa at alpinelinux.org> wrote:
> 
> > Hi,
> > 
> > This segfaults with busybox-1.23 ash:
> > 
> >   ash -c 'f(){ echo ${#1}; }; f foo'
> 
> Does not happen unless CONFIG_UNICODE_SUPPORT=y
> 
> This is on x86_64 Alpine Linux with musl libc.

Appears to be introduced with commit e9ab07c2 (ash: make ${#var}
unicode-aware, 2014-08-13).

-nc


More information about the busybox mailing list