[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Segmentation fault when -x is added and variable contains nulls
From: |
Chet Ramey |
Subject: |
Re: Segmentation fault when -x is added and variable contains nulls |
Date: |
Thu, 06 Feb 2014 14:35:44 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 |
On 2/6/14 9:07 AM, Pierre Gaston wrote:
>
> With bash 3.2.25(1)-release
>
> $ LC_CTYPE=zh_TW.UTF-8 N=$(echo 統一|iconv -t big5 -f utf-8) sh -xc ': $N'
> + : $'\262\316\244@'
>
> With bash-rc1 I can reproduce it with: bash -xc $': \262\316\244@'
Thanks for the reproducer.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/