wok rev 17186

bash: CVE-2014-7169 fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 02 18:55:18 2014 +0200 (2014-10-02)
parents 54f6cfa51542
children acc112d7f4e2
files adminer/receipt bash/receipt bash/stuff/CVE-2014-7169.patch
line diff
     1.1 --- a/adminer/receipt	Thu Oct 02 12:48:18 2014 +0200
     1.2 +++ b/adminer/receipt	Thu Oct 02 18:55:18 2014 +0200
     1.3 @@ -17,7 +17,7 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 -	php compile.php
     1.8 +	php compile.php 2>&1 | sed '/^PHP Warning/d'
     1.9  }
    1.10  
    1.11  # Rules to gen a SliTaz package suitable for Tazpkg.
     2.1 --- a/bash/receipt	Thu Oct 02 12:48:18 2014 +0200
     2.2 +++ b/bash/receipt	Thu Oct 02 18:55:18 2014 +0200
     2.3 @@ -19,6 +19,8 @@
     2.4  	cd $src
     2.5  	# CVE-2014-6271
     2.6  	patch -p0 < $stuff/funcdef-import-4.2.patch
     2.7 +	# CVE-2014-7169
     2.8 +	patch -p0 < $stuff/CVE-2014-7169.patch
     2.9  	./configure --without-bash-malloc &&
    2.10  	make && make install
    2.11  }
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/bash/stuff/CVE-2014-7169.patch	Thu Oct 02 18:55:18 2014 +0200
     3.3 @@ -0,0 +1,12 @@
     3.4 +*** parse.y	2014-08-26 15:09:42.000000000 -0400
     3.5 +--- parse.y	2014-09-24 22:47:28.000000000 -0400
     3.6 +***************
     3.7 +*** 2849,2852 ****
     3.8 +--- 2849,2854 ----
     3.9 +    word_desc_to_read = (WORD_DESC *)NULL;
    3.10 +  
    3.11 ++   eol_ungetc_lookahead = 0;
    3.12 ++ 
    3.13 +    current_token = '\n';		/* XXX */
    3.14 +    last_read_token = '\n';
    3.15 +