summaryrefslogtreecommitdiff
path: root/pod/perlsec.pod
diff options
context:
space:
mode:
authorAndrew Pimlott <pimlott@idiomtech.com>2000-10-05 09:20:58 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2000-11-01 16:52:31 +0000
commitb7ee89cee3c5aae4c446f4045b031f8bf83c927e (patch)
tree8d0f1d023e8f450458e766c5afee3aef84e6b6c1 /pod/perlsec.pod
parent876b7d982eb7c788fb7cfad6c5283f8e1a65c33e (diff)
downloadperl-b7ee89cee3c5aae4c446f4045b031f8bf83c927e.tar.gz
[ID 20001005.004] doc bug: perlsec misleading re file output
Message-Id: <m13hEhW-000SEmC@nolfolan.idiomtech.com> p4raw-id: //depot/perl@7515
Diffstat (limited to 'pod/perlsec.pod')
-rw-r--r--pod/perlsec.pod19
1 files changed, 16 insertions, 3 deletions
diff --git a/pod/perlsec.pod b/pod/perlsec.pod
index 6b50b92f96..16b439c1a5 100644
--- a/pod/perlsec.pod
+++ b/pod/perlsec.pod
@@ -38,9 +38,22 @@ msgrcv(), the password, gcos and shell fields returned by the
getpwxxx() calls), and all file input are marked as "tainted".
Tainted data may not be used directly or indirectly in any command
that invokes a sub-shell, nor in any command that modifies files,
-directories, or processes. (B<Important exception>: If you pass a list
-of arguments to either C<system> or C<exec>, the elements of that list
-are B<NOT> checked for taintedness.) Any variable set to a value
+directories, or processes, B<with the following exceptions>:
+
+=over 4
+
+=item *
+
+If you pass a list of arguments to either C<system> or C<exec>,
+the elements of that list are B<not> checked for taintedness.
+
+=item *
+
+Arguments to C<print> and C<syswrite> are B<not> checked for taintedness.
+
+=back
+
+Any variable set to a value
derived from tainted data will itself be tainted, even if it is
logically impossible for the tainted data to alter the variable.
Because taintedness is associated with each scalar value, some