Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

cannot directly untaint a hash value!!!

by particle (Vicar)
on Apr 18, 2002 at 13:11 UTC ( #160188=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -T
    use strict;
    ...
        open( FH, '+>', $params{A} ) or die "$params{A} : untaint \$params
    +{A}";
        close FH;
    }
    
  2. or download this
    $ t-taint.pl
    type 'file' to test: file
    Insecure dependency in open while running with -T switch at ./t-taint.
    +pl line 46, <> line 1.
    
  3. or download this
    # untaint parameters
    for( keys %params )
    ...
            display_message( $messages{error} ) && exit;
        }
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://160188]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2020-06-05 02:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (35 votes). Check out past polls.

    Notices?