7 Bug-Reported-by: Dan Douglas <ormaaj@gmail.com>
8 Bug-Reference-ID: <4585554.nZWb4q7YoZ@smorgbox>
9 Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2011-12/msg00084.html
13 Using `read -N' to assign values to an array can result in NUL values being
14 assigned to some array elements. These values cause seg faults when referenced
17 Patch (apply with `patch -p0'):
19 *** ../bash-4.2-patched/builtins/read.def 2011-11-21 18:03:38.000000000 -0500
20 --- builtins/read.def 2011-12-19 19:52:12.000000000 -0500
25 ! var = bind_read_variable (varname, t);
31 ! var = bind_read_variable (varname, t ? t : "");
38 ! var = bind_read_variable (list->word->word, input_string);
44 ! var = bind_read_variable (list->word->word, input_string ? input_string : "");
47 *** ../bash-4.2-patched/patchlevel.h Sat Jun 12 20:14:48 2010
48 --- patchlevel.h Thu Feb 24 21:41:34 2011
51 looks for to find the patch level (for the sccs version string). */
53 ! #define PATCHLEVEL 20
55 #endif /* _PATCHLEVEL_H_ */
57 looks for to find the patch level (for the sccs version string). */
59 ! #define PATCHLEVEL 21
61 #endif /* _PATCHLEVEL_H_ */