[pcre-dev] [Bug 1803] segfault in pcre jit when running twig…

Top Page
Delete this message
Author: admin
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 1803] segfault in pcre jit when running twig test suite (PHP7)
https://bugs.exim.org/show_bug.cgi?id=1803

Zoltan Herczeg <hzmester@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hzmester@???


--- Comment #1 from Zoltan Herczeg <hzmester@???> ---
>From the backtrace this is strange:


zend_string_init (persistent=0, len=18446744073709551614,
    str=0x7fffed43e1fc "\303\237\343\201\224a")


len=18446744073709551614 seems too big (in hex it is 0x1999999999999999 which
is a strange value). Especially because the subject len is 10.

I think it would be good to put a breakpoint where the pcre returns with the
offsets and check start and end. It would be also good to check how that big
len is computed.

--
You are receiving this mail because:
You are on the CC list for the bug.