]> git.pld-linux.org Git - packages/bash.git/blame - bash42-019
- up to 4.2.20
[packages/bash.git] / bash42-019
CommitLineData
81c0d887
AM
1 BASH PATCH REPORT
2 =================
3
4Bash-Release: 4.2
5Patch-ID: bash42-019
6
7Bug-Reported-by: Diego Augusto Molina <diegoaugustomolina@gmail.com>
8Bug-Reference-ID: <CAGOxLdHcSQu3ck9Qy3pRjj_NBU5tAPSAvNm-95-nLQ9Szwb6aA@mail.gmail.com>
9Bug-Reference-URL: lists.gnu.org/archive/html/bug-bash/2011-09/msg00047.html
10
11Bug-Description:
12
13Using `declare' with attributes and an invalid array variable name or
14assignment reference resulted in a segmentation fault instead of a
15declaration error.
16
17Patch (apply with `patch -p0'):
18
19*** ../bash-4.2-patched/builtins/declare.def 2010-05-30 18:25:21.000000000 -0400
20--- builtins/declare.def 2011-09-15 15:20:20.000000000 -0400
21***************
22*** 514,517 ****
23--- 514,522 ----
24 var = assign_array_element (name, value, 0); /* XXX - not aflags */
25 *subscript_start = '\0';
26+ if (var == 0) /* some kind of assignment error */
27+ {
28+ assign_error++;
29+ NEXT_VARIABLE ();
30+ }
31 }
32 else if (simple_array_assign)
33*** ../bash-4.2-patched/patchlevel.h Sat Jun 12 20:14:48 2010
34--- patchlevel.h Thu Feb 24 21:41:34 2011
35***************
36*** 26,30 ****
37 looks for to find the patch level (for the sccs version string). */
38
39! #define PATCHLEVEL 18
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 19
46
47 #endif /* _PATCHLEVEL_H_ */
This page took 0.100441 seconds and 4 git commands to generate.