wok-stable diff bash/receipt @ rev 12438

bash: CVE-2014-6271 fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 25 12:58:21 2014 +0200 (2014-09-25)
parents 8ad990dde0f8
children 4acc6a6b8f4f
line diff
     1.1 --- a/bash/receipt	Tue May 24 06:48:16 2011 +0000
     1.2 +++ b/bash/receipt	Thu Sep 25 12:58:21 2014 +0200
     1.3 @@ -16,6 +16,8 @@
     1.4  cook_tmp_toolchain()
     1.5  {
     1.6  	cd $src
     1.7 +	# CVE-2014-6271
     1.8 +	patch -p0 < $stuff/funcdef-import-4.2.patch
     1.9  	./configure --without-bash-malloc &&
    1.10  	make && make install
    1.11  }
    1.12 @@ -25,6 +27,8 @@
    1.13  {
    1.14  	# Patch and then build.
    1.15  	cd $src
    1.16 +	# CVE-2014-6271
    1.17 +	patch -p0 < $stuff/funcdef-import-4.2.patch
    1.18  	# Skip tests that can not run while cross-compiling.
    1.19  	cat > config.cache << "EOF"
    1.20  ac_cv_func_mmap_fixed_mapped=yes