ash segfault in busybox-1.23

Denys Vlasenko vda.linux at googlemail.com
Sun Dec 28 23:05:32 UTC 2014


On Thu, Dec 25, 2014 at 4:59 PM, Natanael Copa <ncopa at alpinelinux.org> wrote:
> 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).


Thanks!
Fixed in git, and uploaded a hotfix patch.


More information about the busybox mailing list