equal
deleted
inserted
replaced
1 BASH PATCH REPORT |
|
2 ================= |
|
3 |
|
4 Bash-Release: 4.2 |
|
5 Patch-ID: bash42-007 |
|
6 |
|
7 Bug-Reported-by: Matthias Klose <[email protected]> |
|
8 Bug-Reference-ID: <[email protected]> |
|
9 Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2011-03/msg00015.html |
|
10 |
|
11 Bug-Description: |
|
12 |
|
13 When used in contexts where word splitting and quote removal were not |
|
14 performed, such as case statement word expansion, empty strings |
|
15 (either literal or resulting from quoted variables that were unset or |
|
16 null) were not expanded correctly, resulting in failure. |
|
17 |
|
18 Patch (apply with `patch -p0'): |
|
19 |
|
20 *** ../bash-4.2-patched/subst.c 2011-02-25 12:03:58.000000000 -0500 |
|
21 --- subst.c 2011-03-03 14:08:23.000000000 -0500 |
|
22 *************** |
|
23 *** 4609,4614 **** |
|
24 --- 4611,4617 ---- |
|
25 if (ifs_firstc == 0) |
|
26 #endif |
|
27 word->flags |= W_NOSPLIT; |
|
28 + word->flags |= W_NOSPLIT2; |
|
29 result = call_expand_word_internal (word, quoted, 0, (int *)NULL, (int *)NULL); |
|
30 expand_no_split_dollar_star = 0; |
|
31 |
|
32 *** ../bash-4.2-patched/patchlevel.h Sat Jun 12 20:14:48 2010 |
|
33 --- patchlevel.h Thu Feb 24 21:41:34 2011 |
|
34 *************** |
|
35 *** 26,30 **** |
|
36 looks for to find the patch level (for the sccs version string). */ |
|
37 |
|
38 ! #define PATCHLEVEL 6 |
|
39 |
|
40 #endif /* _PATCHLEVEL_H_ */ |
|
41 --- 26,30 ---- |
|
42 looks for to find the patch level (for the sccs version string). */ |
|
43 |
|
44 ! #define PATCHLEVEL 7 |
|
45 |
|
46 #endif /* _PATCHLEVEL_H_ */ |
|