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

[perl #126991] integer overflow in line number tracking reported bycaller()

Thread Next
Hugo van der Sanden via RT
June 12, 2019 08:41
[perl #126991] integer overflow in line number tracking reported bycaller()
Message ID:
On Tue, 11 Jun 2019 22:45:41 -0700, tonyc wrote: 
> Do we want to do anything else for this ticket?
> I can see three options:
> a) reject the remaining issues (line numbers >=2**31 not preserved in
> GVs, >2**32 not preserved at all) and close the ticket
> b) mitigate it somehow, eg. warn or croak on line numbers >=2**31.
> c) leave the ticket open, even if we don't plan to do anything

My inclination is for (b) over (a); however I don't think it's hugely urgent, so in practice that might look more like (c).

I've constructed file/line info not relating to a real line in a real file a few times in the past, eg to get useful nytprof results for a Moo application. I think there are legitimate use cases here, and we should be letting the user know if they go beyond what we can support.

I think a warning is probably enough though.


via perlbug:  queue: perl5 status: open

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About