[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: ash segfault in busybox-1.23
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2014-12-28 23:05:32
Message-ID: CAK1hOcPPqrfuL4fMynFF3G0ud0iN0sZe_x5A5LmYc6e97xsWyQ () mail ! gmail ! com
[Download RAW message or body]

On Thu, Dec 25, 2014 at 4:59 PM, Natanael Copa <ncopa@alpinelinux.org> wrote:
> On Thu, 25 Dec 2014 16:55:09 +0100
> Natanael Copa <ncopa@alpinelinux.org> wrote:
>
>> On Thu, 25 Dec 2014 16:38:57 +0100
>> Natanael Copa <ncopa@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.
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic