diff options
author | David Mitchell <davem@iabyn.com> | 2010-08-25 12:15:41 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2010-08-25 12:15:41 +0100 |
commit | 07004ebbe530fe5ce1c67e63c0b8e1c0aa77b3b9 (patch) | |
tree | 1edfd5adf69112c113382f0ad93608189dee10d1 /MANIFEST | |
parent | 3f9bb6b034fc3e91c3576718cf4783d1f5fa55f9 (diff) | |
download | perl-07004ebbe530fe5ce1c67e63c0b8e1c0aa77b3b9.tar.gz |
don't taint $DB::sub
[perl #76872] showed a case where code like the following, run under -d,
would cause $DB::sub to get set:
$tainted_expression && func()
The tainted expression sets PL_tainted, so calling func() under -d, which
sets $DB::sub, causes it to get tainted.
Consequently any further sub calls would set PL_tainted while getting the
old value of $DB::sub (and cause the new value to be tainted too), and if
the sub was XS, then its code would be executed with PL_tainted set.
It isn't an issue with perl subs as the first nextstate op resets
PL_tainted.
Diffstat (limited to 'MANIFEST')
-rw-r--r-- | MANIFEST | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3603,6 +3603,7 @@ lib/perl5db/t/proxy-constants Tests for the Perl debugger lib/perl5db/t/rt-61222 Tests for the Perl debugger lib/perl5db/t/rt-66110 Tests for the Perl debugger lib/perl5db/t/symbol-table-bug Tests for the Perl debugger +lib/perl5db/t/taint Tests for the Perl debugger lib/PerlIO.pm PerlIO support module lib/Pod/Functions.pm used by pod/splitpod lib/Pod/Html.pm Convert POD data to HTML |