bug-bash
[Top][All Lists]
Advanced

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

Re: integer variable that unsets itself causes segfault


From: Chet Ramey
Subject: Re: integer variable that unsets itself causes segfault
Date: Fri, 8 Aug 2025 16:21:16 -0400
User-agent: Mozilla Thunderbird

On 8/8/25 4:04 PM, Oğuz wrote:
On Friday, August 8, 2025, Chet Ramey <chet.ramey@case.edu <mailto:chet.ramey@case.edu>> wrote:

    Thanks for the report.


While exploring it I rediscovered this one from last year <https:// lists.gnu.org/archive/html/bug-bash/2024-05/msg00402.html <https:// lists.gnu.org/archive/html/bug-bash/2024-05/msg00402.html>>:

     $ bash -c 'declare -in x; for x do :; done; date' _ 'a[${ break;}]'
     $ <no output>

Guess you don't plan to fix that?

That has no resemblance to the test case in the linked message, which I
fixed.


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

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


reply via email to

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