busybox 1.24.1 ash regression
Natanael Copa
ncopa at alpinelinux.org
Thu Oct 29 08:28:20 UTC 2015
On Thu, 29 Oct 2015 09:21:06 +0100
Natanael Copa <ncopa at alpinelinux.org> wrote:
> On Thu, 29 Oct 2015 08:16:30 +0100
> Natanael Copa <ncopa at alpinelinux.org> wrote:
>
> > Simplfied test case:
> >
> >
> > foo () {
> > tr '\n' ' ' <<EOF | grep '.*' && { echo "$1" ; return 0 ; }
> > $1
> > EOF
> > }
> >
> > foo "bar"
> >
> >
> > The simplified testcase works with bash, dash and busybox 1.23 ash, but
> > fails with busybox 1.24.1.
>
> I bisected it to:
>
> 7e66102f762a7d80715f0c7e5925433256b78cee is the first bad commit
> commit 7e66102f762a7d80715f0c7e5925433256b78cee
> Author: Denys Vlasenko <vda.linux at googlemail.com>
> Date: Thu Feb 5 21:00:17 2015 +0100
>
> ash: fix a SEGV case in an invalid heredoc
>
> Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
>
> :040000 040000 971ee626cc195afe0030c037c376fe895fa683c1
> 67f020615d2eb44eff814e3bf182df07913d8ab4 M shell
This appears relevant config:
CONFIG_UNICODE_SUPPORT=y
Disabling the CONFIG_UNICODE_SUPPORT makes the problem disappear.
-nc
More information about the busybox
mailing list