From: Rafael Garcia-Suarez <rgarciasuarez@gmail.com>
Date: Sun, 16 Jul 2006 21:42:59 +0000 (+0000)
Subject: Check for taintedness of PERL5SHELL on Windows
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e62a67708095ac0925bf98cb2b81ebd31b1b9918;p=p5sagit%2Fp5-mst-13.2.git

Check for taintedness of PERL5SHELL on Windows
(bug #39832)

p4raw-id: //depot/perl@28591
---

diff --git a/taint.c b/taint.c
index 1eab082..1c74f87 100644
--- a/taint.c
+++ b/taint.c
@@ -82,6 +82,9 @@ Perl_taint_env(pTHX)
 	"CDPATH",	/* ksh dain bramage #1 */
 	"ENV",		/* ksh dain bramage #2 */
 	"BASH_ENV",	/* bash dain bramage -- I guess it's contagious */
+#ifdef WIN32
+	"PERL5SHELL",	/* used for system() on Windows */
+#endif
 	NULL
     };