]>
Commit | Line | Data |
---|---|---|
24acfa14 MT |
1 | BASH PATCH REPORT |
2 | ================= | |
3 | ||
4 | Bash-Release: 3.2 | |
5 | Patch-ID: bash32-029 | |
6 | ||
7 | Bug-Reported-by: Tomas Janousek <tjanouse@redhat.com> | |
8 | Bug-Reference-ID: <20071102104034.GA26893@redhat.com> | |
9 | Bug-Reference-URL: https://bugzilla.redhat.com/show_bug.cgi?id=286861 | |
10 | ||
11 | Bug-Description: | |
12 | ||
13 | When the bash arithmetic expression evaluator has temporarily turned off | |
14 | evalation, such as when parsing a pre- or post-decrement or -increment | |
15 | operator, and an error occurs, evaluation is not re-enabled. | |
16 | ||
17 | Patch: | |
18 | ||
19 | *** ../bash-3.2-patched/expr.c 2007-08-25 13:47:05.000000000 -0400 | |
20 | --- expr.c 2007-10-18 08:08:44.000000000 -0400 | |
21 | *************** | |
22 | *** 287,290 **** | |
23 | --- 287,292 ---- | |
24 | } | |
25 | free (expr_stack[expr_depth]); /* free the allocated EXPR_CONTEXT */ | |
26 | + | |
27 | + noeval = 0; /* XXX */ | |
28 | } | |
29 | ||
30 | *************** | |
31 | *** 320,323 **** | |
32 | --- 322,326 ---- | |
33 | ||
34 | val = 0; | |
35 | + noeval = 0; | |
36 | ||
37 | FASTCOPY (evalbuf, oevalbuf, sizeof (evalbuf)); | |
38 | *** ../bash-3.2/patchlevel.h Thu Apr 13 08:31:04 2006 | |
39 | --- patchlevel.h Mon Oct 16 14:22:54 2006 | |
40 | *************** | |
41 | *** 26,30 **** | |
42 | looks for to find the patch level (for the sccs version string). */ | |
43 | ||
44 | ! #define PATCHLEVEL 28 | |
45 | ||
46 | #endif /* _PATCHLEVEL_H_ */ | |
47 | --- 26,30 ---- | |
48 | looks for to find the patch level (for the sccs version string). */ | |
49 | ||
50 | ! #define PATCHLEVEL 29 | |
51 | ||
52 | #endif /* _PATCHLEVEL_H_ */ |