develooper Front page | perl.perl5.porters | Postings from July 2010

Re: [perl #75716] overload removes tainting

Thread Previous
From:
Dave Mitchell
Date:
July 3, 2010 08:53
Subject:
Re: [perl #75716] overload removes tainting
Message ID:
20100703155315.GA12960@iabyn.com
On Sun, Jun 13, 2010 at 02:27:26PM -0700, Father Chrysostomos wrote:
> perl5.13.1 -lT -MScalar::Util=tainted -e'use overload q\""\ => sub  
> { $^X }; print tainted "".bless []'
> 0

Fixed by the series of 11 commits between

    3340ac375f37f424a40787ccf00c582048903d8d
    40c852dee6a247b996f2c759f997f7c7c89a47b3

inclusive, but most notably by 

    a02ec77af3235fc3d744725d93fbef7d9126695a

> And this one fails also in 5.10.1:
> perl -lT -MScalar::Util=tainted -e'use overload q\""\ => sub { $^X };  
> eval bless []'

Fixed by the same series of commits, but in particular by

    895b760f672897cb301e8900c05743c32f282f42



-- 
The Enterprise successfully ferries an alien VIP from one place to another
without serious incident.
    -- Things That Never Happen in "Star Trek" #7

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About