develooper Front page | perl.perl5.porters | Postings from October 2011

[perl #94560] [PATCH v5.12.4-1-gea42574] large repeat count causes heap corruption

Thread Previous | Thread Next
From:
Father Chrysostomos via RT
Date:
October 23, 2011 14:07
Subject:
[perl #94560] [PATCH v5.12.4-1-gea42574] large repeat count causes heap corruption
Message ID:
rt-3.6.HEAD-31297-1319404016-1031.94560-15-0@perl.org
On Mon Jul 11 11:47:03 2011, meyering wrote:
> As for fixing it, I've included a patch that works for me, but it's
> probably not so simple.  I doubt you can so easily change a public API
> like Perl_repeatcpy, even if it's so fundamentally limited. 

I’m no C expert, but if IV is bigger than I32, then isn’t it OK to
change the signature? It won’t be binary-compatible (which 5.16 won’t be
anyway), but it should be source-compatible, shouldn’t it?

In other words: Can other perl porters tell me whether this patch can be
applied as-is?


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