bash: Fix for CVE-2014-7169

(cherry picked from commit 0a0ebd8c4445ef67bca859a79cc03b5f6f1ef75a)