]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
bash: Import fix for CVE-2014-7169
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 25 Sep 2014 17:38:23 +0000 (19:38 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 29 Sep 2014 11:49:56 +0000 (13:49 +0200)
http://www.openwall.com/lists/oss-security/2014/09/25/10

Conflicts:
lfs/bash

lfs/bash
src/patches/bash-3.2-CVE-2014-7169.patch [new file with mode: 0644]

index e09f91ceb5b7315a984274fe6295e1375084bd51..ee1946ec019c5bf90762175041db9c912fb72f8e 100644 (file)
--- a/lfs/bash
+++ b/lfs/bash
@@ -95,6 +95,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/bash-4.0-profile-1.patch
        cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/bash-3.2-ssh_source_bash.patch
        cd $(DIR_APP) && patch -Np0 < $(DIR_SRC)/src/patches/bash-4.3-CVE-2014-6271.patch
+       cd $(DIR_APP) && patch -Np0 < $(DIR_SRC)/src/patches/bash-3.2-CVE-2014-7169.patch
 
        cd $(DIR_APP) && ./configure $(CONFIGURE_OPTIONS)
        cd $(DIR_APP) && make $(MAKETUNING)
diff --git a/src/patches/bash-3.2-CVE-2014-7169.patch b/src/patches/bash-3.2-CVE-2014-7169.patch
new file mode 100644 (file)
index 0000000..964b91f
--- /dev/null
@@ -0,0 +1,11 @@
+*** ../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';