On Thu, Feb 13, 2014 at 04:01:21PM -0500, Chet Ramey wrote: > On 2/13/14 2:32 PM, Eduardo A. Bustamante López wrote: > > On Thu, Feb 13, 2014 at 11:37:27AM -0500, Chet Ramey wrote: > >> On 2/13/14 11:33 AM, Eduardo A. Bustamante López wrote: > >>> Using an invalid byte sequence with printf %q segfaults bash, for a > >>> UTF-8 locale. > > I think it depends on your system and locale. I only had the third > example produce a seg fault, but it was enough. Try the attached > updated patch. Perfect. This new patch passes all the tests I setup. I confirm that it works.
Thanks! -- Eduardo Alan Bustamante López