components/bash/patches/parse.y-CVE-2014-7169.patch
changeset 2112 97e2c252be4c
equal deleted inserted replaced
2111:4988638320c4 2112:97e2c252be4c
       
     1 # Patch is from Chet Ramey (Bash Project Lead);
       
     2 # http://www.openwall.com/lists/oss-security/2014/09/25/10
       
     3 # This will become an official bash patch.
       
     4 *** ../bash-20140912/parse.y	2014-08-26 15:09:42.000000000 -0400
       
     5 --- parse.y	2014-09-24 22:47:28.000000000 -0400
       
     6 ***************
       
     7 *** 2959,2962 ****
       
     8 --- 2959,2964 ----
       
     9     word_desc_to_read = (WORD_DESC *)NULL;
       
    10   
       
    11 +   eol_ungetc_lookahead = 0;
       
    12 + 
       
    13     current_token = '\n';		/* XXX */
       
    14     last_read_token = '\n';
       
    15