]> git.pld-linux.org Git - packages/bash.git/blob - bash42-021
up to 4.2.45
[packages/bash.git] / bash42-021
1                              BASH PATCH REPORT
2                              =================
3
4 Bash-Release:   4.2
5 Patch-ID:       bash42-021
6
7 Bug-Reported-by:        Dan Douglas <ormaaj@gmail.com>
8 Bug-Reference-ID:       <4585554.nZWb4q7YoZ@smorgbox>
9 Bug-Reference-URL:      http://lists.gnu.org/archive/html/bug-bash/2011-12/msg00084.html
10
11 Bug-Description:
12
13 Using `read -N' to assign values to an array can result in NUL values being
14 assigned to some array elements.  These values cause seg faults when referenced
15 later.
16
17 Patch (apply with `patch -p0'):
18
19 *** ../bash-4.2-patched/builtins/read.def       2011-11-21 18:03:38.000000000 -0500
20 --- builtins/read.def   2011-12-19 19:52:12.000000000 -0500
21 ***************
22 *** 738,742 ****
23             }
24           else
25 !           var = bind_read_variable (varname, t);
26         }
27         else
28 --- 775,779 ----
29             }
30           else
31 !           var = bind_read_variable (varname, t ? t : "");
32         }
33         else
34 ***************
35 *** 799,803 ****
36       }
37     else
38 !     var = bind_read_variable (list->word->word, input_string);
39   
40     if (var)
41 --- 836,840 ----
42       }
43     else
44 !     var = bind_read_variable (list->word->word, input_string ? input_string : "");
45   
46     if (var)
47 *** ../bash-4.2-patched/patchlevel.h    Sat Jun 12 20:14:48 2010
48 --- patchlevel.h        Thu Feb 24 21:41:34 2011
49 ***************
50 *** 26,30 ****
51      looks for to find the patch level (for the sccs version string). */
52   
53 ! #define PATCHLEVEL 20
54   
55   #endif /* _PATCHLEVEL_H_ */
56 --- 26,30 ----
57      looks for to find the patch level (for the sccs version string). */
58   
59 ! #define PATCHLEVEL 21
60   
61   #endif /* _PATCHLEVEL_H_ */
This page took 0.036012 seconds and 3 git commands to generate.