summaryrefslogtreecommitdiff
path: root/taint.c
diff options
context:
space:
mode:
Diffstat (limited to 'taint.c')
-rw-r--r--taint.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/taint.c b/taint.c
index 655cec84ef..cdf9a7e535 100644
--- a/taint.c
+++ b/taint.c
@@ -46,6 +46,9 @@ taint_env(void)
NULL
};
+ if (!PL_envgv)
+ return;
+
#ifdef VMS
int i = 0;
char name[10 + TYPE_DIGITS(int)] = "DCL$PATH";