]>
Commit | Line | Data |
---|---|---|
bd03fb8f AM |
1 | BASH PATCH REPORT |
2 | ================= | |
3 | ||
4 | Bash-Release: 4.0 | |
5 | Patch-ID: bash40-012 | |
6 | ||
7 | Bug-Reported-by: "Clark J. Wang" <dearvoid@gmail.com> | |
8 | Bug-Reference-ID: <a96f63770903132300v7816dfb7hb7f48d46048bf3cb@mail.gmail.com> | |
9 | Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2009-03/msg00129.html | |
10 | ||
11 | Bug-Description: | |
12 | ||
13 | A case statement using the ;& pattern terminator followed immediately by | |
14 | "esac" caused a core dump due to a null pointer dereference. | |
15 | ||
16 | Patch: | |
17 | ||
18 | *** ../bash-4.0-patched/execute_cmd.c 2009-02-13 16:41:41.000000000 -0500 | |
19 | --- execute_cmd.c 2009-03-14 13:23:00.000000000 -0400 | |
20 | *************** | |
21 | *** 2931,2935 **** | |
22 | } | |
23 | while ((clauses->flags & CASEPAT_FALLTHROUGH) && (clauses = clauses->next)); | |
24 | ! if ((clauses->flags & CASEPAT_TESTNEXT) == 0) | |
25 | EXIT_CASE (); | |
26 | else | |
27 | --- 2931,2935 ---- | |
28 | } | |
29 | while ((clauses->flags & CASEPAT_FALLTHROUGH) && (clauses = clauses->next)); | |
30 | ! if (clauses == 0 || (clauses->flags & CASEPAT_TESTNEXT) == 0) | |
31 | EXIT_CASE (); | |
32 | else | |
33 | *** ../bash-4.0/patchlevel.h 2009-01-04 14:32:40.000000000 -0500 | |
34 | --- patchlevel.h 2009-02-22 16:11:31.000000000 -0500 | |
35 | *************** | |
36 | *** 26,30 **** | |
37 | looks for to find the patch level (for the sccs version string). */ | |
38 | ||
39 | ! #define PATCHLEVEL 11 | |
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 12 | |
46 | ||
47 | #endif /* _PATCHLEVEL_H_ */ |