Skip to content

Instantly share code, notes, and snippets.

@drj11
Created September 26, 2014 14:38
Show Gist options
  • Save drj11/239e04c686f0886253fa to your computer and use it in GitHub Desktop.
Save drj11/239e04c686f0886253fa to your computer and use it in GitHub Desktop.
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