7 Bug-Reported-by: Roman Rakus <rrakus@redhat.com>
8 Bug-Reference-ID: <4A93F6E9.4050401@redhat.com>
13 An implicit assignment to index "0" of an existing array variable caused
14 the shell to crash when the variable was unset.
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
22 hash = assoc_create (0);
24 ! assoc_insert (hash, "0", oldval);
26 FREE (value_cell (var));
28 hash = assoc_create (0);
30 ! assoc_insert (hash, savestring ("0"), oldval);
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
37 else if (assoc_p (entry))
39 ! assoc_insert (assoc_cell (entry), "0", newval);
43 else if (assoc_p (entry))
45 ! assoc_insert (assoc_cell (entry), savestring ("0"), newval);
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
52 looks for to find the patch level (for the sccs version string). */
54 ! #define PATCHLEVEL 30
56 #endif /* _PATCHLEVEL_H_ */
58 looks for to find the patch level (for the sccs version string). */
60 ! #define PATCHLEVEL 31
62 #endif /* _PATCHLEVEL_H_ */