7 Bug-Reported-by: Christophe Martin <schplurtz@free.fr>
8 Bug-Reference-ID: <465ABA4A.3030805@free.fr>
9 Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2007-05/msg00104.html
13 References made within a function to an uninitialized local array variable
14 using the [*] subscript in a double-quoted string can result in spurious
15 ASCII 127 characters in the expanded value.
19 *** ../bash-3.2-patched/arrayfunc.c 2007-08-25 13:47:05.000000000 -0400
20 --- arrayfunc.c 2007-05-31 11:55:46.000000000 -0400
31 ! *rtype = (t[0] == '*') ? 1 : 2;
34 *** ../bash-3.2-patched/subst.c 2007-08-25 13:47:08.000000000 -0400
35 --- subst.c 2007-11-14 15:43:00.000000000 -0500
45 /* Handle multiple digit arguments, as in ${11}. */
55 /* Handle multiple digit arguments, as in ${11}. */
60 : quote_escapes (temp);
61 + else if (atype == 1 && temp && QUOTED_NULL (temp) && (quoted & (Q_DOUBLE_QUOTES|Q_HERE_DOCUMENT)))
62 + rflags |= W_HASQUOTEDNULL;
68 ret = alloc_word_desc ();
70 + ret->flags |= rflags;
73 *** ../bash-3.2/patchlevel.h Thu Apr 13 08:31:04 2006
74 --- patchlevel.h Mon Oct 16 14:22:54 2006
77 looks for to find the patch level (for the sccs version string). */
79 ! #define PATCHLEVEL 32
81 #endif /* _PATCHLEVEL_H_ */
83 looks for to find the patch level (for the sccs version string). */
85 ! #define PATCHLEVEL 33
87 #endif /* _PATCHLEVEL_H_ */