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    c...@case.edu    http://tiswww.cwru.edu/~chet/


Reply via email to