[pcre-dev] [Bug 803] New: Segmentation fault for conditional…

Top Page
Delete this message
Author: Ben Measures
Date:  
To: pcre-dev
New-Topics: [pcre-dev] [Bug 803] Segmentation fault for conditional with positive lookahead
Subject: [pcre-dev] [Bug 803] New: Segmentation fault for conditional with positive lookahead
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=803
           Summary: Segmentation fault for conditional with positive
                    lookahead
           Product: PCRE
           Version: 7.6
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: high
         Component: Code
        AssignedTo: ph10@???
        ReportedBy: saint.abroad@???
                CC: pcre-dev@???



Created an attachment (id=297)
--> (http://bugs.exim.org/attachment.cgi?id=297)
Working Perl script

A bit more to it than the summary suggests but the code below tells all:

$ ulimit -s
8192
$ pcretest
PCRE version 7.6 2008-01-28

re> /^"((?(?=[a])[^"])|b)*"$/
data> "ab"

Segmentation fault
$

It actually segfaults on any data matching /".*"/ . The perl script works as
expected.

Don't know what else to write - if you need more information I can post a
reply.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email