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

[perl #70660] 'Attempt to free unreferenced scalar' - test case

From:
Petr Pisar via RT
Date:
August 27, 2010 02:18
Subject:
[perl #70660] 'Attempt to free unreferenced scalar' - test case
Message ID:
rt-3.6.HEAD-5116-1282843317-980.70660-14-0@perl.org
Dne čt 19.lis.2009 15:35:38, eda@waniasset.com napsal(a):
> This is a bug report for perl from eda@waniasset.com,
> generated with the help of perlbug 1.36 running under perl 5.10.0.
> 
> 
> -----------------------------------------------------------------
> [Please enter your report here]
> 
> The following test program generates an 'Attempt to free
> unreferenced scalar' with my perl (Fedora 11 i386):
> 
> my $_;
> push @{$h{x}}, 0;
> for (0) {
>   for (0) {}
> }
> 
Just for completeness: It has been fixed by
73072c95a77d4a9e353efb3fdb279b9650e31e8b commit by Nicholas Clark
<nick@ccl4.org> at Thu Oct 16 20:45:27 2008 +0000.



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