harry@mars:~$ env -i PATH="Downloads/bash_4.2-2ubuntu2.3_amd64/bin:$PATH" X='() { (a)=>\' bash -c 'echo date'; cat echo
bash: X: line 1: syntax error near unexpected token `='
bash: X: line 1: `'
bash: error importing function definition for `X'
date
cat: echo: No such file or directory
Re the above: the patch was *not* correctly applied in trusty package bash_4. 3-7ubuntu1. 2.
lucid package bash_4.3-7ubuntu1.2 appears to have been upgraded fine, and handles the test case correctly.
harry@mars:~$ md5sum Downloads/ bash_4. 3-7ubuntu1. 1_amd64/ bin/bash Downloads/ bash_4. 3-7ubuntu1. 2_amd64/ bin/bash e113a5794d54b73 2a Downloads/ bash_4. 3-7ubuntu1. 1_amd64/ bin/bash e113a5794d54b73 2a Downloads/ bash_4. 3-7ubuntu1. 2_amd64/ bin/bash
3c263963be49239
3c263963be49239
harry@mars:~$ md5sum Downloads/ bash_4. 2-2ubuntu2. 2_amd64/ bin/bash Downloads/ bash_4. 2-2ubuntu2. 3_amd64/ bin/bash 05e89e4a4de553f ec Downloads/ bash_4. 2-2ubuntu2. 2_amd64/ bin/bash 6b4a3d7a29ffbe0 b2 Downloads/ bash_4. 2-2ubuntu2. 3_amd64/ bin/bash
d63ff62f142e762
5ee533c7cd3a824
harry@mars:~$ env -i PATH="Downloads /bash_4. 2-2ubuntu2. 3_amd64/ bin:$PATH" X='() { (a)=>\' bash -c 'echo date'; cat echo
bash: X: line 1: syntax error near unexpected token `='
bash: X: line 1: `'
bash: error importing function definition for `X'
date
cat: echo: No such file or directory