ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl5-porters
perl5-porters
[perl #67838] [PATCH] lvalue substr keeping lexical alive
by Eric Brine via RT other posts by this author
Nov 7 2009 11:08AM messages near this date
Re: [perl #70305] perlguts.pod AvLEN | Re: [perl #67838] [PATCH] lvalue substr keeping lexical alive
On Fri Nov 06 16:25:33 2009, ikegami@[...].com wrote:
>  On Thu Nov 05 12:56:29 2009, perl@[...].com wrote:
>  > It's not only lvalue vec(), it's also lvalue pos(), substr() and maybe 
>  > keys().
>  
>  Confirmed for all four. A patch to add tests is attached.
>  
>  A patch to fix the problem will follow shortly.

Two patches are attached.

The first adds tests. It's an updated version of my earlier patch. It
should be used instead of the earlier patch.

The second plugs the leaks by not using TARG when a lvalue is required.
Thread:
Eric Brine via RT
Rafael Garcia-Suarez
Eric Brine
hv
Vincent Pit
Eric Brine
Demerphq
Eric Brine
Eric Brine

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved