]> git.pld-linux.org Git - packages/bash.git/blame - bash41-008
- release 2
[packages/bash.git] / bash41-008
CommitLineData
c47ce3c5
AM
1 BASH PATCH REPORT
2 =================
3
4Bash-Release: 4.1
5Patch-ID: bash41-008
6
7Bug-Reported-by: Dennis van Dok <dvandok@gmail.com>
8Bug-Reference-ID: <4BBF2501.5050703@gmail.com>
9Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2010-04/msg00038.html
10
11Bug-Description:
12
13When declaring an associative array and implicitly assigning a value
14to element "0", bash does not correctly allocate memory, leading to
15a segmentation violation when that element or the array itself is
16unset.
17
18Patch (apply with `patch -p0'):
19
20*** ../bash-4.1-patched/builtins/declare.def 2009-11-25 19:42:00.000000000 -0500
21--- builtins/declare.def 2010-05-30 18:25:21.000000000 -0400
22***************
23*** 513,517 ****
24 /* let bind_{array,assoc}_variable take care of this. */
25 if (assoc_p (var))
26! bind_assoc_variable (var, name, "0", value, aflags);
27 else
28 bind_array_variable (name, 0, value, aflags);
29--- 519,523 ----
30 /* let bind_{array,assoc}_variable take care of this. */
31 if (assoc_p (var))
32! bind_assoc_variable (var, name, savestring ("0"), value, aflags);
33 else
34 bind_array_variable (name, 0, value, aflags);
35*** ../bash-4.1-patched/patchlevel.h 2009-10-01 16:39:22.000000000 -0400
36--- patchlevel.h 2010-01-14 09:38:08.000000000 -0500
37***************
38*** 26,30 ****
39 looks for to find the patch level (for the sccs version string). */
40
41! #define PATCHLEVEL 7
42
43 #endif /* _PATCHLEVEL_H_ */
44--- 26,30 ----
45 looks for to find the patch level (for the sccs version string). */
46
47! #define PATCHLEVEL 8
48
49 #endif /* _PATCHLEVEL_H_ */
This page took 0.088777 seconds and 4 git commands to generate.