]> git.pld-linux.org Git - packages/bash.git/blob - bash40-031
- up to 4.0.33
[packages/bash.git] / bash40-031
1                              BASH PATCH REPORT
2                              =================
3
4 Bash-Release: 4.0
5 Patch-ID: bash40-031
6
7 Bug-Reported-by:        Roman Rakus <rrakus@redhat.com>
8 Bug-Reference-ID:       <4A93F6E9.4050401@redhat.com>
9 Bug-Reference-URL:      
10
11 Bug-Description:
12
13 An implicit assignment to index "0" of an existing array variable caused
14 the shell to crash when the variable was unset.
15
16 Patch:
17
18 *** ../bash-4.0-patched/arrayfunc.c     2009-03-08 21:24:39.000000000 -0400
19 --- arrayfunc.c 2009-08-24 09:29:43.000000000 -0400
20 ***************
21 *** 99,103 ****
22     hash = assoc_create (0);
23     if (oldval)
24 !     assoc_insert (hash, "0", oldval);
25   
26     FREE (value_cell (var));
27 --- 99,103 ----
28     hash = assoc_create (0);
29     if (oldval)
30 !     assoc_insert (hash, savestring ("0"), oldval);
31   
32     FREE (value_cell (var));
33 *** ../bash-4.0-patched/variables.c     2009-01-04 14:32:46.000000000 -0500
34 --- variables.c 2009-08-24 09:29:58.000000000 -0400
35 ***************
36 *** 2218,2222 ****
37         else if (assoc_p (entry))
38         {
39 !         assoc_insert (assoc_cell (entry), "0", newval);
40           free (newval);
41         }
42 --- 2218,2222 ----
43         else if (assoc_p (entry))
44         {
45 !         assoc_insert (assoc_cell (entry), savestring ("0"), newval);
46           free (newval);
47         }
48 *** ../bash-4.0/patchlevel.h    2009-01-04 14:32:40.000000000 -0500
49 --- patchlevel.h        2009-02-22 16:11:31.000000000 -0500
50 ***************
51 *** 26,30 ****
52      looks for to find the patch level (for the sccs version string). */
53   
54 ! #define PATCHLEVEL 30
55   
56   #endif /* _PATCHLEVEL_H_ */
57 --- 26,30 ----
58      looks for to find the patch level (for the sccs version string). */
59   
60 ! #define PATCHLEVEL 31
61   
62   #endif /* _PATCHLEVEL_H_ */
This page took 0.030985 seconds and 3 git commands to generate.