7 Bug-Reported-by: emanuelczirai@cryptolab.net
8 Bug-Reference-ID: <f962e4f556da5ebfadaf7afe9c78a8cb@cryptolab.net>
9 Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2015-02/msg00071.html
13 When evaluating and setting integer variables, and the assignment fails to
14 create a variable (for example, when performing an operation on an array
15 variable with an invalid subscript), bash attempts to dereference a null
16 pointer, causing a segmentation violation.
18 Patch (apply with `patch -p0'):
22 @@ -2833,10 +2833,12 @@ bind_int_variable (lhs, rhs)
24 v = bind_variable (lhs, rhs, 0);
27 - VSETATTR (v, att_integer);
29 - VUNSETATTR (v, att_invisible);
33 + VSETATTR (v, att_integer);
34 + VUNSETATTR (v, att_invisible);
42 regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh
43 looks for to find the patch level (for the sccs version string). */
45 -#define PATCHLEVEL 35
46 +#define PATCHLEVEL 36
48 #endif /* _PATCHLEVEL_H_ */