develooper Front page | perl.perl5.porters | Postings from February 2015

[perl #123893] parse hangs

Thread Previous
From:
Hugo van der Sanden
Date:
February 20, 2015 11:50
Subject:
[perl #123893] parse hangs
Message ID:
rt-4.0.18-4589-1424433012-1994.123893-75-0@perl.org
# New Ticket Created by  Hugo van der Sanden 
# Please include the string:  [perl #123893]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=123893 >


I restarted AFL (<http://lcamtuf.coredump.cx/afl/>) on latest blead, but it quickly finds this and hangs:

./miniperl -ce '"@{"'

Bisect shows this was introduced by the recent commit e47d32dcd5:
    [perl #123712] Fix /$a[/ parsing

    The parser used to read more lines of input when parsing code interpo-
    lated into quote-like operators, under some circumstance.
[...]
    The simplest fix is to modify the function that reads more input,
    namely, lex_next_chunk, and prevent it from reading more lines of
    input from inside a quote-like operator.

Hugo


Thread Previous


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