wok-stable rev 12439

bash: CVE-2014-7169 fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 02 18:53:53 2014 +0200 (2014-10-02)
parents 853a028198ee
children 4d0702aaa4ad
files bash/receipt bash/stuff/CVE-2014-7169.patch
line diff
     1.1 --- a/bash/receipt	Thu Sep 25 12:58:21 2014 +0200
     1.2 +++ b/bash/receipt	Thu Oct 02 18:53:53 2014 +0200
     1.3 @@ -18,6 +18,8 @@
     1.4  	cd $src
     1.5  	# CVE-2014-6271
     1.6  	patch -p0 < $stuff/funcdef-import-4.2.patch
     1.7 +	# CVE-2014-7169
     1.8 +	patch -p0 < $stuff/CVE-2014-7169.patch
     1.9  	./configure --without-bash-malloc &&
    1.10  	make && make install
    1.11  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/bash/stuff/CVE-2014-7169.patch	Thu Oct 02 18:53:53 2014 +0200
     2.3 @@ -0,0 +1,12 @@
     2.4 +*** parse.y	2014-08-26 15:09:42.000000000 -0400
     2.5 +--- parse.y	2014-09-24 22:47:28.000000000 -0400
     2.6 +***************
     2.7 +*** 2849,2852 ****
     2.8 +--- 2849,2854 ----
     2.9 +    word_desc_to_read = (WORD_DESC *)NULL;
    2.10 +  
    2.11 ++   eol_ungetc_lookahead = 0;
    2.12 ++ 
    2.13 +    current_token = '\n';		/* XXX */
    2.14 +    last_read_token = '\n';
    2.15 +