bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Long variable value get corrupted sometimes


From: Daniel Qian
Subject: Re: Long variable value get corrupted sometimes
Date: Thu, 17 Feb 2022 09:27:43 +0800

I'm not familiar with Bash version/release policy, I only found 5.1.8,
5.1.12, 5.1.16 at
download page https://ftp.gnu.org/gnu/bash/

Is this fix included in 5.1.16 version?

Chet Ramey <chet.ramey@case.edu> 于2022年2月16日周三 21:59写道:
>
> On 2/16/22 3:10 AM, Daniel Qian wrote:
> > Hi all,
> >
> > I encountered a problem that long variable value get corrupted sometimes.
> >
> > OS: Alpine linux 3.15.0 (docker container)
> > Bash version: GNU bash, version 5.1.8(1)-release (x86_64-alpine-linux-musl)
> >
> > Reproduction steps:
> >
> > A UTF-8 encoded file containing a lot of Chinese characters, file size ~35K.
> >
> > A test script read content from `foo.txt` and assign the content to a 
> > variable,
> > and then check md5sum for that variable.
>
> https://lists.gnu.org/archive/html/bug-bash/2022-01/msg00009.html
>
>
> --
> ``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/



-- 
Daniel Qian
Apache Committer(chanjarster)
blog:https://chanjarster.github.io
github:https://github.com/chanjarster
segmentfault: https://segmentfault.com/u/chanjarster



reply via email to

[Prev in Thread] Current Thread [Next in Thread]