]> git.ipfire.org Git - ipfire-2.x.git/blob - src/patches/bash/bash32-053
Merge branch 'master' into install-raid
[ipfire-2.x.git] / src / patches / bash / bash32-053
1 BASH PATCH REPORT
2 =================
3
4 Bash-Release: 3.2
5 Patch-ID: bash32-053
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:
17
18 *** ../bash-3.2.52/parse.y 2008-04-29 21:24:55.000000000 -0400
19 --- parse.y 2014-09-25 16:18:41.000000000 -0400
20 ***************
21 *** 2504,2507 ****
22 --- 2504,2509 ----
23 word_desc_to_read = (WORD_DESC *)NULL;
24
25 + eol_ungetc_lookahead = 0;
26 +
27 last_read_token = '\n';
28 token_to_read = '\n';
29 *** ../bash-3.2.52/y.tab.c 2006-09-25 08:15:16.000000000 -0400
30 --- y.tab.c 2014-09-25 20:28:17.000000000 -0400
31 ***************
32 *** 3833,3836 ****
33 --- 3833,3838 ----
34 word_desc_to_read = (WORD_DESC *)NULL;
35
36 + eol_ungetc_lookahead = 0;
37 +
38 last_read_token = '\n';
39 token_to_read = '\n';
40 *** ../bash-3.2/patchlevel.h Thu Apr 13 08:31:04 2006
41 --- patchlevel.h Mon Oct 16 14:22:54 2006
42 ***************
43 *** 26,30 ****
44 looks for to find the patch level (for the sccs version string). */
45
46 ! #define PATCHLEVEL 52
47
48 #endif /* _PATCHLEVEL_H_ */
49 --- 26,30 ----
50 looks for to find the patch level (for the sccs version string). */
51
52 ! #define PATCHLEVEL 53
53
54 #endif /* _PATCHLEVEL_H_ */