
perlbug-followup at perl
May 21, 2012, 5:56 PM
Post #1 of 1
(40 views)
Permalink
|
|
[perl #111730] Negative offset to vec in lvalue context
|
|
On Fri Mar 30 03:36:10 2012, tonyc wrote: > On Sat, Mar 24, 2012 at 02:01:13PM +1100, Tony Cook wrote: > > On Tue, Mar 13, 2012 at 10:38:35PM -0700, Tony Cook via RT wrote: > > > >From looking at the code this happens because do_vecset() uses I32 for > > > the offset and variable. > > > > > > do_vecget() has a similar issue, since it's offset parameter is an I32. > > > > Attached is a fix, using the PERL_TEST_MEMORY from my patch in RT #72784. > > > > Intended for post 5.16. > > Alternate version changing I32 to int for size. Thank you. Applied as 803e7e81 and fcb8da00b. -- Father Chrysostomos --- via perlbug: queue: perl5 status: open https://rt.perl.org:443/rt3/Ticket/Display.html?id=111730
|