7 Bug-Reported-by: John McCabe-Dansted
9 Bug-Reference-URL: https://bugs.launchpad.net/ubuntu/+source/bash/+bug/202885
13 When using the `set' builtin to list all shell variables, the shell uses
14 the wrong variable when computing the length of a variable's value.
18 *** ../bash-3.2-patched/array.c 2007-03-24 14:51:03.000000000 -0400
19 --- array.c 2008-08-17 13:07:04.000000000 -0400
22 valstr = element_value (ae) ? sh_double_quote (element_value(ae))
24 ! elen = STRLEN (indstr) + 8 + STRLEN (valstr);
25 RESIZE_MALLOCED_BUFFER (result, rlen, (elen + 1), rsize, rsize);
28 valstr = element_value (ae) ? sh_double_quote (element_value(ae))
30 ! elen = STRLEN (is) + 8 + STRLEN (valstr);
31 RESIZE_MALLOCED_BUFFER (result, rlen, (elen + 1), rsize, rsize);
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 39
41 #endif /* _PATCHLEVEL_H_ */
43 looks for to find the patch level (for the sccs version string). */
45 ! #define PATCHLEVEL 40
47 #endif /* _PATCHLEVEL_H_ */