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

[perl #24589] Bizarre array copy: ???

Thread Previous
From:
Father Chrysostomos via RT
Date:
July 29, 2016 20:34
Subject:
[perl #24589] Bizarre array copy: ???
Message ID:
rt-4.0.18-31199-1469824468-364.24589-15-0@perl.org
On Sat Sep 11 03:28:49 2010, davem wrote:
> This can be reduced to the following, which is another example
> of problems caused by the stack not being reference counted.
> Essentially unfixable.
> 
> our $freed;
> 
> sub f {
>     *freed = \1;
>     package DB;
>     my @call_info = caller(0);
>     my $a = $DB::args[0];
> }
> 
> f($freed);

This does not crash for me in blead (v5.25.3-63-gd03b2e8).

-- 

Father Chrysostomos


---
via perlbug:  queue: perl5 status: stalled
https://rt.perl.org/Ticket/Display.html?id=24589

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