]>
Commit | Line | Data |
---|---|---|
24acfa14 MT |
1 | BASH PATCH REPORT |
2 | ================= | |
3 | ||
4 | Bash-Release: 3.2 | |
5 | Patch-ID: bash32-040 | |
6 | ||
7 | Bug-Reported-by: John McCabe-Dansted | |
8 | Bug-Reference-ID: | |
9 | Bug-Reference-URL: https://bugs.launchpad.net/ubuntu/+source/bash/+bug/202885 | |
10 | ||
11 | Bug-Description: | |
12 | ||
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. | |
15 | ||
16 | Patch: | |
17 | ||
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 | |
20 | *************** | |
21 | *** 684,688 **** | |
22 | valstr = element_value (ae) ? sh_double_quote (element_value(ae)) | |
23 | : (char *)NULL; | |
24 | ! elen = STRLEN (indstr) + 8 + STRLEN (valstr); | |
25 | RESIZE_MALLOCED_BUFFER (result, rlen, (elen + 1), rsize, rsize); | |
26 | ||
27 | --- 809,813 ---- | |
28 | valstr = element_value (ae) ? sh_double_quote (element_value(ae)) | |
29 | : (char *)NULL; | |
30 | ! elen = STRLEN (is) + 8 + STRLEN (valstr); | |
31 | RESIZE_MALLOCED_BUFFER (result, rlen, (elen + 1), rsize, rsize); | |
32 | ||
33 | *** ../bash-3.2/patchlevel.h Thu Apr 13 08:31:04 2006 | |
34 | --- patchlevel.h Mon Oct 16 14:22:54 2006 | |
35 | *************** | |
36 | *** 26,30 **** | |
37 | looks for to find the patch level (for the sccs version string). */ | |
38 | ||
39 | ! #define PATCHLEVEL 39 | |
40 | ||
41 | #endif /* _PATCHLEVEL_H_ */ | |
42 | --- 26,30 ---- | |
43 | looks for to find the patch level (for the sccs version string). */ | |
44 | ||
45 | ! #define PATCHLEVEL 40 | |
46 | ||
47 | #endif /* _PATCHLEVEL_H_ */ |