This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
chdir() with an empty tainted argument on Win32
authorAbe Timmerman <abe@ztreet.demon.nl>
Sun, 2 Dec 2001 02:41:25 +0000 (03:41 +0100)
committerJarkko Hietaniemi <jhi@iki.fi>
Sun, 2 Dec 2001 01:17:43 +0000 (01:17 +0000)
Message-ID: <j8vi0uorud2fa9vp0q2dpmn7tpr5hqec1d@4ax.com>

p4raw-id: //depot/perl@13424

pp_sys.c

index a2d5721..6c0085f 100644 (file)
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -3412,6 +3412,7 @@ PP(pp_chdir)
         }
         else {            
             PUSHi(0);
+            TAINT_PROPER("chdir");
             RETURN;
         }
     }