develooper Front page | perl.perl5.porters | Postings from September 2016

[perl #129267] Possible string overrun with invalid len in gv.c

Thread Previous | Thread Next
From:
Todd Rinaldo via RT
Date:
September 13, 2016 21:55
Subject:
[perl #129267] Possible string overrun with invalid len in gv.c
Message ID:
rt-4.0.24-28695-1473803717-1877.129267-15-0@perl.org
On Tue Sep 13 14:30:52 2016, demerphq wrote:
>
> Anyway, I repushed my changes:
> 
> cfb7367 fix #129267: rework gv_fetchmethod_pvn_flags separator parsing
> e2cace1 clean up gv_fetchmethod_pvn_flags: rename nsplit to
> last_separator
> d5ea0ef clean up gv_fetchmethod_pvn_flags: move origname init to
> function start
> 65308f8 clean up gv_fetchmethod_pvn_flags: introduce name_end
> 
> I think the code is much easier to understand now.
> 
> FC, I didnt really see a way to test for a string overrun via
> XS::APItest, maybe I didnt try hard enough tho. Can you think of
> something?
> 
> (I think this ticket can be closed tho.)
> 
> Yves


Looks really good. Thanks!

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

Thread Previous | 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