[1.20.0] 'sed' segfaults while trying to match wildcards

Natanael Copa natanael.copa at gmail.com
Tue Apr 24 11:27:19 UTC 2012


On Mon, Apr 23, 2012 at 11:41 PM, Tomasz Czapiewski <xeros at irc.pl> wrote:
> # echo "anything" | sed 's/\t*//g'
> Segmentation fault
>
> # echo "anything" | sed 's/\t//g'
> anything
>
> # echo "anything" | sed 's/a*//g'
> Segmentation fault
>
> Worked fine on 1.19.3.

I suggest adding those tests to the testsuite to prevent regressions in future.

Thanks!

-- 
Natanael Copa


More information about the busybox mailing list