in reply to Re: Laundering tainted 'eval'
in thread Laundering tainted 'eval'
But <samp>do EXPR</samp> is an eval! The docs say:
It goes on to list some differences.is just likedo 'stat.pl';...scalar eval `cat stat.pl`;
The point about taint mode is not letting your program execute (some, not all!) potentially dangerous operations. Replacing an eval with do doesn't do that...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Laundering tainted 'eval'
by Mr. Muskrat (Canon) on May 12, 2002 at 21:23 UTC |