develooper Front page | perl.perl5.porters | Postings from March 2019

[perl #133922] Assertion failure in Perl_sv_grow (sv.c:1581)

From:
Tony Cook via RT
Date:
March 19, 2019 05:13
Subject:
[perl #133922] Assertion failure in Perl_sv_grow (sv.c:1581)
Message ID:
rt-4.0.24-26296-1552972386-1854.133922-15-0@perl.org
On Mon, 11 Mar 2019 16:21:20 -0700, randir wrote:
> While fuzzing perl v5.29.8-21-gde59f38ed9 built with afl and run
> under libdislocator, I found the following program
> 
> for$@(*0){eval}
> 
> to cause an assertion failure:

I'm not sure what the correct behaviour should be here.

The obvious case is making it act like:

  for $@(*0) { $@ = "" } # *0 = "" # set GP to that of *{""}

but that's not really what I expect from eval.

Tony

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



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