[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Segfaults over a glob with quoted UTF-8 characters
From: |
Chet Ramey |
Subject: |
Re: Segfaults over a glob with quoted UTF-8 characters |
Date: |
Tue, 3 Nov 2020 16:34:00 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 |
On 11/3/20 4:09 PM, Frédéric Brière wrote:
> $ echo $BASH_VERSION
> 5.1.0(1)-rc1
> $ echo $LC_ALL
> C.UTF-8
> $ echo é/*
> é/*
> $ echo 'é'/*
> Segmentation fault (core dumped)
>
> The same occurs when escaping with a backslash. Whether or not the glob
> actually matches something does not appear to matter.
Thanks for the report. This has already been fixed, the result of
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=972286
The fix is in bash-5.1-rc2.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/