This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
"perl -T -P" dumps core on OpenBSD and Linux
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 30 Dec 1998 21:11:05 +0000 (14:11 -0700)
committerJarkko Hietaniemi <jhi@iki.fi>
Thu, 31 Dec 1998 09:27:40 +0000 (09:27 +0000)
To: perlbug@perl.com
Message-Id: <199812310411.VAA37568@xerxes.courtesan.com>

p4raw-id: //depot/cfgperl@2545

taint.c

diff --git a/taint.c b/taint.c
index 655cec8..cdf9a7e 100644 (file)
--- 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";