develooper Front page | perl.perl5.porters | Postings from January 2017

[perl #130561] Coredump in Perl_re_op_compile

From:
Sergey Aleynikov via RT
Date:
January 22, 2017 12:48
Subject:
[perl #130561] Coredump in Perl_re_op_compile
Message ID:
rt-4.0.24-3147-1485089329-865.130561-14-0@perl.org
Before v5.18.0, this'd just die() during a regex compilation. It was either exposed or caused by the following commit:

31c15ce5372b770c3ca899df6cf102f1ed6866ba is the first bad commit
commit 31c15ce5372b770c3ca899df6cf102f1ed6866ba
Author: Karl Williamson <public@khwilliamson.com>
Date:   Sat Sep 15 12:27:22 2012 -0600

    PATCH: [perl #82954] Make "Can't do {n,m} with n > m into warning

    This commit now causes this situation to warn instead of dying.  The
    portion of the regular expression that can't match is optimized into an
    OPFAIL.



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About