[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Character corruption
From: |
Chet Ramey |
Subject: |
Re: Character corruption |
Date: |
Fri, 19 Mar 2021 10:20:58 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 |
On 3/19/21 10:02 AM, Кириллов Дима wrote:
Bash Version: 5.1
Patch Level: 4
Release Status: release
Description:
Two bytes unicode characters getting corrupted under certain
circumstances around every 5th attempt of running below command
Repeat-By:
1) create an UTF-8 file which contains 510 'A' characters, newline
('\n') and some two bytes unicode character (f.e. russian letter 'Я')
(file size should be equal to 513 bytes after that)
File can be created using following script in python 3:
Thanks for the report. This looks like the same issue as the one reported
in https://savannah.gnu.org/patch/?10035
which was fixed a few weeks ago in the devel branch.
--
``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/