in reply to Re^3: pack() untaints data : bug or undocumented Perl 5.10 feature?
in thread pack() untaints data : bug or undocumented Perl 5.10 feature?
As it is, perlsec says that only by using a regex or by making the scalar a hash key can you untaint it. The behavior of pack "a*", $val and pack "A*", $val used to leave the value tainted. Now it does not.
There is probably code somewhere that takes advantage of that fact, and under 5.10.0 that code is now less secure.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: pack() untaints data : bug or undocumented Perl 5.10 feature?
by BrowserUk (Patriarch) on Apr 07, 2008 at 14:56 UTC | |
by mr_mischief (Monsignor) on Apr 07, 2008 at 15:09 UTC | |
by BrowserUk (Patriarch) on Apr 07, 2008 at 15:43 UTC | |
by mr_mischief (Monsignor) on Apr 07, 2008 at 15:57 UTC |