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

[perl #91032] Invalid free in t/op/write.t

Thread Next
From:
Karl Williamson via RT
Date:
May 21, 2011 08:56
Subject:
[perl #91032] Invalid free in t/op/write.t
Message ID:
rt-3.6.HEAD-32285-1305993412-666.91032-14-0@perl.org
Git bisect results:

37ffbfcca347ea751c9514463873b90f8a496be0 is the first bad commit
commit 37ffbfcca347ea751c9514463873b90f8a496be0
Author: Nicholas Clark <nick@ccl4.org>
Date:   Mon May 2 12:37:30 2011 +0100

    In S_doparseform(), don't force the pattern to a string. This
resolves #79532
    
    Previously S_doparseform() was using SvPV_force(), because the
pattern had to
    be forced to a string, because the compiled format was stored in the
string's
    buffer. Now that the compiled format is stored in the magic struct,
this isn't
    necessary.
    
    Additionally, removing the call to SvPV_force() removes the need to
hack with
    the SvREADONLY() flag in pp_formline.


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