develooper Front page | perl.perl5.porters | Postings from December 2017

Re: [perl #92264] Freeing $a or $b during sort causes a double free

Thread Previous
From:
Zefram
Date:
December 12, 2017 07:30
Subject:
Re: [perl #92264] Freeing $a or $b during sort causes a double free
Message ID:
20171212073047.GB25404@fysh.org
The original test case on this ticket stopped producing the freeing
warning in commit 8b0c3377906a6f991cd6c21a674bf9561d85e3cb in 5.25.7.
That doesn't reflect any substantive difference relevant to this ticket.
This test case still warns:

$ perl -le '() = sort { *a = \1 } 1, 2'
Attempt to free unreferenced scalar: SV 0x1e4b270, Perl interpreter: 0x1e24010.

-zefram

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