summaryrefslogtreecommitdiffstats
path: root/linker/linker_environ.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linker/linker_environ.cpp')
-rw-r--r--linker/linker_environ.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/linker/linker_environ.cpp b/linker/linker_environ.cpp
index daee56f..9a0f009 100644
--- a/linker/linker_environ.cpp
+++ b/linker/linker_environ.cpp
@@ -31,6 +31,7 @@
#include <linux/auxvec.h>
#include <stddef.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
#include "private/KernelArgumentBlock.h"
@@ -114,6 +115,7 @@ static bool __is_unsafe_environment_variable(const char* name) {
"GCONV_PATH",
"GETCONF_DIR",
"HOSTALIASES",
+ "JE_MALLOC_CONF",
"LD_AOUT_LIBRARY_PATH",
"LD_AOUT_PRELOAD",
"LD_AUDIT",
@@ -129,6 +131,7 @@ static bool __is_unsafe_environment_variable(const char* name) {
"LOCALDOMAIN",
"LOCPATH",
"MALLOC_CHECK_",
+ "MALLOC_CONF",
"MALLOC_TRACE",
"NIS_PATH",
"NLSPATH",