chdir() with an empty tainted argument on Win32
Abe Timmerman [Sun, 2 Dec 2001 02:41:25 +0000 (03:41 +0100)]
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;
         }
     }