]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/bash/bash32-040
Merge remote-tracking branch 'stevee/mc-update' into thirteen
[people/pmueller/ipfire-2.x.git] / src / patches / bash / bash32-040
CommitLineData
24acfa14
MT
1 BASH PATCH REPORT
2 =================
3
4Bash-Release: 3.2
5Patch-ID: bash32-040
6
7Bug-Reported-by: John McCabe-Dansted
8Bug-Reference-ID:
9Bug-Reference-URL: https://bugs.launchpad.net/ubuntu/+source/bash/+bug/202885
10
11Bug-Description:
12
13When using the `set' builtin to list all shell variables, the shell uses
14the wrong variable when computing the length of a variable's value.
15
16Patch:
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_ */