On 1/12/21 5:51 AM, Alexander Mescheryakov wrote:
Bash Version: 5.1
Patch Level: 4
Release Status: release
Description:
Redeclaring array variable leads to leaked memory in bash 5.1
It is required to define var as `declare -a FOO=(a b c)`
defining it simply as `FOO=(a b c)` d
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt
-DDEFAULT_PATH_VALUE='/usr/local/sbin:/usr/local/bin:/usr/bin'
-DSTANDARD_UTILS_PATH='/usr/bin' -DSYS_BASHRC='/etc/ba