diff options
author | Daniil Baturin <daniil@baturin.org> | 2014-09-26 00:31:28 +0200 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2014-09-26 00:31:28 +0200 |
commit | 54a007421e005e2ca69406541c887cc799a75382 (patch) | |
tree | afca7e026cf9de2b95d7d0d7ae062cae80bf8441 | |
parent | 10e6adabbf28fece7404093f515ae153469ee5dc (diff) | |
download | vyatta-bash-54a007421e005e2ca69406541c887cc799a75382.tar.gz vyatta-bash-54a007421e005e2ca69406541c887cc799a75382.zip |
Another shellshock patch by Chet Ramey.
-rw-r--r-- | parse.y | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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'; |