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

[perl #118175] threaded perl-5.18.0 fails re/pat_rt_report_thr.t on i586

Thread Next
From:
Tony Cook via RT
Date:
June 3, 2013 12:32
Subject:
[perl #118175] threaded perl-5.18.0 fails re/pat_rt_report_thr.t on i586
Message ID:
rt-3.6.HEAD-2552-1370262732-1775.118175-15-0@perl.org
On Tue May 28 03:49:19 2013, tonyc wrote:
> On Tue, May 28, 2013 at 08:05:32PM +1000, Tony Cook wrote:
> > so our C<< scan + max < loceol >> condition is true, and the pointer
> > addition overflows.
> > 
> > The scan loop:
> > 
> >             while (scan < loceol && UCHARAT(scan) == c) {
> >                 scan++;
> >             }
> > 
> > then terminates early since loceol starts out less than scan.
> 
> The attached patch fixes this particular instance of the bug, but from
> inspection there are more (any C<< scan + max >> is suspect in
> S_regrepeat.)

I've applied this fix, and a few similar changes to S_regrepeat as
the merge commit 285a3ca139d04d2ee1894c9a9110294ee8bb0309.

I think this is a candidate for maint.

Tony


---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=118175

Thread Next


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