7 Bug-Reported-by: Ralf Oehler <Ralf@Oehler-Privat.de>
8 Bug-Reference-ID: <20221120140252.2fc6489b@bilbo>
9 Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2022-11/msg00082.html
13 Bash can leak memory when referencing a non-existent associative array
16 Patch (apply with `patch -p0'):
18 *** ../bash-5.2-patched/subst.c 2022-11-05 17:27:48.000000000 -0400
19 --- subst.c 2022-11-21 14:42:59.000000000 -0500
22 : quote_escapes (temp);
25 - *estatep = es; /* structure copy */
27 /* Note that array[*] and array[@] expanded to a quoted null string by
31 rflags |= W_HASQUOTEDNULL;
37 rflags |= W_HASQUOTEDNULL;
40 ! *estatep = es; /* structure copy */
44 *** ../bash-5.2/patchlevel.h 2020-06-22 14:51:03.000000000 -0400
45 --- patchlevel.h 2020-10-01 11:01:28.000000000 -0400
48 looks for to find the patch level (for the sccs version string). */
50 ! #define PATCHLEVEL 12
52 #endif /* _PATCHLEVEL_H_ */
54 looks for to find the patch level (for the sccs version string). */
56 ! #define PATCHLEVEL 13
58 #endif /* _PATCHLEVEL_H_ */