Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Copy of CVE-2014-7169.diff
Description: fix incomplete CVE-2014-6271 update
Author: Chet Ramey <chet.ramey@case.edu>
Origin: upstream, http://www.openwall.com/lists/oss-security/2014/09/25/10
Index: bash-4.2/bash/parse.y
===================================================================
--- bash-4.2.orig/bash/parse.y 2014-09-25 02:09:45.791186206 -0400
+++ bash-4.2/bash/parse.y 2014-09-25 02:09:45.791186206 -0400
@@ -2848,6 +2848,8 @@
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';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment