in reply to Re: Can someone help me to explain the code below
in thread Can someone help me to explain the code below
When running under -T it will also make an untainted copy of the contents of $this_in in $this_mail (presuming $this_in was from a tainted source)</nit>
$ perl -MScalar::Util=tainted -lT -e '($o)=$ENV{PWD}=~/(.*)/gio;print +tainted( $_ ) for ( $o, $ENV{PWD} )' 0 1
(Not that that's the case here, but saying it's just a copy assignment isn't universally true . . .)
Update: And before someone else outpedants me, as toolic points out above that should really be "... an untainted copy up to the first newline of the contents ..." :)
The cake is a lie.
The cake is a lie.
The cake is a lie.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Can someone help me to explain the code below
by ww (Archbishop) on Aug 04, 2010 at 21:11 UTC |