linker_environ: clear MALLOC_CONF when AT_SECURE=1

Clear JE_MALLOC_CONF and MALLOC_CONF

Change-Id: Ia76e263783194ecaa362e8ccafbe13a28a4a1ba6
This commit is contained in:
Nick Kralevich 2015-03-27 14:01:00 -07:00
parent cd79a59b18
commit e001ca3e18

View File

@ -115,6 +115,7 @@ static bool __is_unsafe_environment_variable(const char* name) {
"GCONV_PATH", "GCONV_PATH",
"GETCONF_DIR", "GETCONF_DIR",
"HOSTALIASES", "HOSTALIASES",
"JE_MALLOC_CONF",
"LD_AOUT_LIBRARY_PATH", "LD_AOUT_LIBRARY_PATH",
"LD_AOUT_PRELOAD", "LD_AOUT_PRELOAD",
"LD_AUDIT", "LD_AUDIT",
@ -130,6 +131,7 @@ static bool __is_unsafe_environment_variable(const char* name) {
"LOCALDOMAIN", "LOCALDOMAIN",
"LOCPATH", "LOCPATH",
"MALLOC_CHECK_", "MALLOC_CHECK_",
"MALLOC_CONF",
"MALLOC_TRACE", "MALLOC_TRACE",
"NIS_PATH", "NIS_PATH",
"NLSPATH", "NLSPATH",