https://bugs.exim.org/show_bug.cgi?id=2094

Zoltan Herczeg <hzmes...@freemail.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hzmes...@freemail.hu

--- Comment #1 from Zoltan Herczeg <hzmes...@freemail.hu> ---
I think this is a known side effect of the SSE2 optimization in PCRE-JIT. The
optimized algorithm reads aligned 16 byte data packets which might cross the
boundary of the input (subject) buffer, and valgrind reports this as an error.
However this is a valid operation, since the read is aligned, so it can never
cause a memory read error. Of course the algorithm ignores data outside of the
input buffer boundaries.

To confirm this please change the following line in pcre_jit_compile.c:

if (sljit_x86_is_sse2_available())

to:

if (false)

and check whether the error disappears.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-- 
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev 

Reply via email to