On 1/1/22 7:02 PM, Frank Heckenbach wrote:
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -Wall
uname output: Linux mars 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) 
x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu
Bash Version: 5.1
Patch Level: 4
Release Status: release

Description:

Bash sometimes corrupts multibyte characters in command
substitutions.
Thanks for the report. This is a pretty good in-depth analysis of the issue.

This was fixed back in March, 2021 in the devel branch as a result of
https://savannah.gnu.org/patch/?10035 (though the fix is different from
yours).

It's queued up as one of the next set of bash-5.1 patches.

Chet

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to