Mercurial > hg > aboriginal
changeset 1513:06c06aeaf547
Brown-paper-bag bug: sanitize_environment assembles a whitelist in an environment variable, and didn't include that variable in the whitelist. (So if the variable name was already used, it wouldn't be at the end of the list, and would blank itself, and everything after it...)
author | Rob Landley <rob@landley.net> |
---|---|
date | Sat, 24 Mar 2012 18:16:29 -0500 |
parents | ade54c27b90d |
children | 6db20984e195 |
files | sources/utility_functions.sh |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/sources/utility_functions.sh Thu Mar 22 20:36:36 2012 -0500 +++ b/sources/utility_functions.sh Sat Mar 24 18:16:29 2012 -0500 @@ -17,7 +17,7 @@ TEMP="$TEMP,LANG,PATH,SHELL,TERM,USER,USERNAME,LOGNAME,PWD,EDITOR,HOME,DISPLAY,_" TEMP="$TEMP,TOPSHELL,START_TIME,STAGE_NAME,TOOLCHAIN_PREFIX,HOST_ARCH,WRAPPY_LOGPATH,OLDPATH" - TEMP="$TEMP,http_proxy,ftp_proxy,https_proxy,no_proxy" + TEMP="$TEMP,http_proxy,ftp_proxy,https_proxy,no_proxy,TEMP" # Unset any variable we don't recognize. It can screw up the build.