summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/bash/bash-3.2.48/cve-2014-7169.patch
blob: 2e734de4348dcb85a5e2a7ebec05cc4bef21e8c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Taken from http://www.openwall.com/lists/oss-security/2016/09/25/10

Upstream-Status: Backport
Index: bash-3.2.48/parse.y
===================================================================
--- bash-3.2.48.orig/parse.y	2008-04-29 18:24:55.000000000 -0700
+++ bash-3.2.48/parse.y	2014-09-26 13:07:31.956080056 -0700
@@ -2503,6 +2503,8 @@
   FREE (word_desc_to_read);
   word_desc_to_read = (WORD_DESC *)NULL;
 
+  eol_ungetc_lookahead = 0;
+
   last_read_token = '\n';
   token_to_read = '\n';
 }