Re: [pcre-dev] JIT is silently off

2015-10-25 Thread ND
I am sorry I forgot to reply. Philip guess was right, JIT can only use 64K machine stack, and itcannot compile the pattern if it runs out of it. The exact rules are not documented since they maychange any time when new optimizations are introduced (e.g. a capturing bracket may use 2 or 3mac

Re: [pcre-dev] JIT is silently off

2015-10-25 Thread Zoltán Herczeg
Hi, I am sorry I forgot to reply. Philip guess was right, JIT can only use 64K machine stack, and it cannot compile the pattern if it runs out of it. The exact rules are not documented since they may change any time when new optimizations are introduced (e.g. a capturing bracket may use 2 or 3

Re: [pcre-dev] JIT is silently off

2015-10-25 Thread ND
On 2015-10-25 17:53, ph10 wrote: On Tue, 20 Oct 2015, ND wrote: This pattern is 8426 times repeated '.*a' > Why there is no '(JIT)' in answer. Why JIT don't work for this pattern? I'm guessing, but I suspect the pattern is just too big. If you run it under pcretest with the -i option you get:

Re: [pcre-dev] JIT is silently off

2015-10-25 Thread ph10
On Tue, 20 Oct 2015, ND wrote: > This pattern is 8426 times repeated '.*a' > Why there is no '(JIT)' in answer. Why JIT don't work for this pattern? I'm guessing, but I suspect the pattern is just too big. If you run it under pcretest with the -i option you get: Capturing subpattern count = 0 O

[pcre-dev] [Bug 1705] heap-buffer-overflow in match src/pcre2_match.c:3321:20

2015-10-25 Thread admin
https://bugs.exim.org/show_bug.cgi?id=1705 --- Comment #4 from Philip Hazel --- You are right. There is no way to exclude \C from PCRE1, either at build time or at pcre_compile() time. -- You are receiving this mail because: You are on the CC list for the bug. -- ## List details at https://lis

[pcre-dev] [Bug 1704] heap-buffer-overflow in compile_branch src/pcre2_compile.c:6323

2015-10-25 Thread admin
https://bugs.exim.org/show_bug.cgi?id=1704 Philip Hazel changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[pcre-dev] [Bug 1703] global-buffer-overflow in compile_branch src/pcre2_compile.c:3700

2015-10-25 Thread admin
https://bugs.exim.org/show_bug.cgi?id=1703 Philip Hazel changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---