[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Corrupted multibyte characters in command substitutions
From: |
Chet Ramey |
Subject: |
Re: Corrupted multibyte characters in command substitutions |
Date: |
Sun, 2 Jan 2022 12:46:23 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 |
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 chet@case.edu http://tiswww.cwru.edu/~chet/
- Corrupted multibyte characters in command substitutions, Frank Heckenbach, 2022/01/01
- Re: Corrupted multibyte characters in command substitutions,
Chet Ramey <=
- Re: Corrupted multibyte characters in command substitutions, Frank Heckenbach, 2022/01/02
- Re: Corrupted multibyte characters in command substitutions, Chet Ramey, 2022/01/02
- Re: Corrupted multibyte characters in command substitutions, Frank Heckenbach, 2022/01/02
- Re: Corrupted multibyte characters in command substitutions, Ángel, 2022/01/03
- Re: Corrupted multibyte characters in command substitutions, Chet Ramey, 2022/01/06
- Re: Corrupted multibyte characters in command substitutions, Ángel, 2022/01/07
- Re: Corrupted multibyte characters in command substitutions, Chet Ramey, 2022/01/08
- Re: Corrupted multibyte characters in command substitutions, Frank Heckenbach, 2022/01/07
- Re: Corrupted multibyte characters in command substitutions, Ángel, 2022/01/07
- Re: Corrupted multibyte characters in command substitutions, Chet Ramey, 2022/01/08