That function export feature of bash was not the cause of the
Shellshock vulnerability.
The cause was idiot programmers who wrote CGI scripts for bash
without proper data sanitization.
See also
https://www.quora.com/Are-there-any-projects-to-replace-bash-the-Unix-shell…
Erik <fair(a)netbsd.org>