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

[perl #123843] SEGV in study_chunk

Thread Previous
From:
Hugo van der Sanden
Date:
February 15, 2015 23:05
Subject:
[perl #123843] SEGV in study_chunk
Message ID:
rt-4.0.18-1529-1424041497-225.123843-75-0@perl.org
# New Ticket Created by  Hugo van der Sanden 
# Please include the string:  [perl #123843]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=123843 >


AFL (<http://lcamtuf.coredump.cx/afl/>) finds this:

% ./miniperl -ce 'qr{x+(y(?0))*}'
Segmentation fault (core dumped)
% 

This turns out to be a missing 'if (data)' guard reached only if we have a GOSUB inside a CURLYM.

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