[pcre-dev] [Bug 1615] Segfault in jit

Page principale
Supprimer ce message
Auteur: Zoltan Herczeg
Date:  
À: pcre-dev
Sujet: [pcre-dev] [Bug 1615] Segfault in jit
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1615

Zoltan Herczeg <hzmester@???> changed:

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





--- Comment #1 from Zoltan Herczeg <hzmester@???> 2015-04-16 08:23:36 ---
Hi,

looks like a difficult crash. I do think valgrind should be our tool to find
the issue (I presume you passed --smc-check=all to valgrind). If it is really a
JIT error, and the jit code reads beyond the end of the input buffer, valgrind
must be able to catch it. Please create a small example with the pattern and
input buffer (or just copy it here if it is public). Allocate the input buffer
dynamically, so valgrind knows the start and end.

I see you use PCRE 8.35. Philip Hazel just released PCRE 8.37-RC1. You can
download it from:

ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/

Is the crash still there? Anyway, this is the right time to fix this before
releasing 8.37 :)

Regards,
Zoltan


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