7 Bug-Reported-by: Wang Xin <wxinee@gmail.com>
8 Bug-Reference-ID: <9a73e1570807062042ide16698m10e1b18036c95592@mail.gmail.com>
9 Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2008-07/msg00014.html
13 Bash did not compute the length of multibyte characters correctly when
14 performing array element length references (e.g., ${#var[subscript]}).
18 *** /usr/src/local/bash/bash-3.2-patched/subst.c 2008-04-28 22:00:20.000000000 -0400
19 --- subst.c 2008-11-10 22:02:38.000000000 -0500
22 t = (ind == 0) ? value_cell (var) : (char *)NULL;
28 t = (ind == 0) ? value_cell (var) : (char *)NULL;
30 ! len = MB_STRLEN (t);
33 *** ../bash-3.2/patchlevel.h Thu Apr 13 08:31:04 2006
34 --- patchlevel.h Mon Oct 16 14:22:54 2006
37 looks for to find the patch level (for the sccs version string). */
39 ! #define PATCHLEVEL 45
41 #endif /* _PATCHLEVEL_H_ */
43 looks for to find the patch level (for the sccs version string). */
45 ! #define PATCHLEVEL 46
47 #endif /* _PATCHLEVEL_H_ */