bug-bash
[Top][All Lists]
Advanced

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

Re: Memory Leak - Bash 4.3.x30


From: Chet Ramey
Subject: Re: Memory Leak - Bash 4.3.x30
Date: Wed, 27 Mar 2024 13:51:51 -0400
User-agent: Mozilla Thunderbird

On 3/26/24 1:33 PM, Jordi Ferrer wrote:
    Just in case for people running old servers:

    This simple code cause a memory leak in bash:

    #!/bin/bash
    #
    Array=("S" "E")
    while [ 1 ]; do
        A=${Array[0]}
    done

This was fixed by patch 40 to bash-4.3; if you're running a fully-patched
version you won't encounter it.

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