components/bash/patches/parse.y-CVE-2014-7169.patch
author Stefan Teleman <stefan.teleman@oracle.com>
Thu, 25 Sep 2014 07:38:21 -0700
branchs11u2-sru
changeset 3336 084b9ae629e2
permissions -rw-r--r--
19682871 problem in UTILITY/BASH

# Patch is from Chet Ramey (Bash Project Lead);
# http://www.openwall.com/lists/oss-security/2014/09/25/10
# This will become an official bash patch.
*** ../bash-20140912/parse.y	2014-08-26 15:09:42.000000000 -0400
--- parse.y	2014-09-24 22:47:28.000000000 -0400
***************
*** 2959,2962 ****
--- 2959,2964 ----
    word_desc_to_read = (WORD_DESC *)NULL;
  
+   eol_ungetc_lookahead = 0;
+ 
    current_token = '\n';		/* XXX */
    last_read_token = '\n';