bug-bash
[Top][All Lists]
Advanced

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

Re: segfault in for(()) loop


From: Chet Ramey
Subject: Re: segfault in for(()) loop
Date: Mon, 24 Jul 2023 13:16:23 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

On 7/24/23 11:58 AM, vc--- via Bug reports for the GNU Bourne Again SHell wrote:

Bash Version: 5.2
Patch Level: 15
Release Status: release

Description:
        Segmentation fault in 'for ((...))' loop

Repeat-By:
        z='';for((;$z;));do echo;done
        without spaces in ;$z;
        in bash 5.1.4 -- works ok, in bash 5.2.15 -- segmentation fault

Thanks for the report. This was fixed several months ago.

--
``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/




reply via email to

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