The scripts are written with certain expectations.
This expectation may not be properly met if the `IFS` value is changed.
This can potentially be used to create some sort of exploit.
Explicitly define IFS and then do so at a local variable scope to prevent affecting the callers IFS setting.
#
install_main() {
+ local IFS=$' \t\n' # Prevent IFS exploits by overriding with a local scope.
if [[ ${SHELL_ENGINE} == "zsh" ]] ; then
emulate ksh
unset install_cleanup
}
-install_main $*
+install_main ${*}