[pcre-dev] [Bug 1663] JIT fails for many matching subpattern…

Top Page
Delete this message
Author: admin
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 1663] JIT fails for many matching subpatterns
https://bugs.exim.org/show_bug.cgi?id=1663

Zoltan Herczeg <hzmester@???> changed:

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


--- Comment #1 from Zoltan Herczeg <hzmester@???> ---
thank you for the report. The -27 is PCRE_ERROR_JIT_STACKLIMIT, which means the
default 32K stack is not enough for this pattern (it have to save the capturing
bracket frequently).

Please read about the JIT stack in the manual:

http://man7.org/linux/man-pages/man3/pcrejit.3.html

Section "CONTROLLING THE JIT STACK".

You need to allocate a bigger stack with pcre_jit_stack_alloc().

Regards,
Zoltan

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