From 54a007421e005e2ca69406541c887cc799a75382 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Fri, 26 Sep 2014 00:31:28 +0200 Subject: Another shellshock patch by Chet Ramey. --- parse.y | 2 ++ 1 file changed, 2 insertions(+) diff --git a/parse.y b/parse.y index 19218fd..d440713 100644 --- a/parse.y +++ b/parse.y @@ -2880,6 +2880,8 @@ reset_parser () FREE (word_desc_to_read); word_desc_to_read = (WORD_DESC *)NULL; + eol_ungetc_lookahead = 0; + current_token = '\n'; /* XXX */ last_read_token = '\n'; token_to_read = '\n'; -- cgit v1.2.3