Last change
on this file was
c5c522c,
checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago
|
initial commit, transferred from cleaned syn3 svn tree
|
-
Property mode set to
100644
|
File size:
1.5 KB
|
Line | |
---|
1 | BASH PATCH REPORT |
---|
2 | ================= |
---|
3 | |
---|
4 | Bash-Release: 4.3 |
---|
5 | Patch-ID: bash43-026 |
---|
6 | |
---|
7 | Bug-Reported-by: Tavis Ormandy <taviso@cmpxchg8b.com> |
---|
8 | Bug-Reference-ID: |
---|
9 | Bug-Reference-URL: http://twitter.com/taviso/statuses/514887394294652929 |
---|
10 | |
---|
11 | Bug-Description: |
---|
12 | |
---|
13 | Under certain circumstances, bash can incorrectly save a lookahead character and |
---|
14 | return it on a subsequent call, even when reading a new line. |
---|
15 | |
---|
16 | Patch (apply with `patch -p0'): |
---|
17 | |
---|
18 | *** ../bash-4.3.25/parse.y 2014-07-30 10:14:31.000000000 -0400 |
---|
19 | --- parse.y 2014-09-25 20:20:21.000000000 -0400 |
---|
20 | *************** |
---|
21 | *** 2954,2957 **** |
---|
22 | --- 2954,2959 ---- |
---|
23 | word_desc_to_read = (WORD_DESC *)NULL; |
---|
24 | |
---|
25 | + eol_ungetc_lookahead = 0; |
---|
26 | + |
---|
27 | current_token = '\n'; /* XXX */ |
---|
28 | last_read_token = '\n'; |
---|
29 | *** ../bash-4.3.25/y.tab.c 2014-07-30 10:14:32.000000000 -0400 |
---|
30 | --- y.tab.c 2014-09-25 20:21:48.000000000 -0400 |
---|
31 | *************** |
---|
32 | *** 5266,5269 **** |
---|
33 | --- 5266,5271 ---- |
---|
34 | word_desc_to_read = (WORD_DESC *)NULL; |
---|
35 | |
---|
36 | + eol_ungetc_lookahead = 0; |
---|
37 | + |
---|
38 | current_token = '\n'; /* XXX */ |
---|
39 | last_read_token = '\n'; |
---|
40 | *************** |
---|
41 | *** 8540,8542 **** |
---|
42 | } |
---|
43 | #endif /* HANDLE_MULTIBYTE */ |
---|
44 | - |
---|
45 | --- 8542,8543 ---- |
---|
46 | *** ../bash-4.3/patchlevel.h 2012-12-29 10:47:57.000000000 -0500 |
---|
47 | --- patchlevel.h 2014-03-20 20:01:28.000000000 -0400 |
---|
48 | *************** |
---|
49 | *** 26,30 **** |
---|
50 | looks for to find the patch level (for the sccs version string). */ |
---|
51 | |
---|
52 | ! #define PATCHLEVEL 25 |
---|
53 | |
---|
54 | #endif /* _PATCHLEVEL_H_ */ |
---|
55 | --- 26,30 ---- |
---|
56 | looks for to find the patch level (for the sccs version string). */ |
---|
57 | |
---|
58 | ! #define PATCHLEVEL 26 |
---|
59 | |
---|
60 | #endif /* _PATCHLEVEL_H_ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.