[pcre-dev] [Bug 1208] Case folding in PCRE

Top Page
Delete this message
Author: Zoltan Herczeg
Date:  
To: pcre-dev
Old-Topics: [pcre-dev] [Bug 1208] New: Case folding in PCRE
Subject: [pcre-dev] [Bug 1208] Case folding in PCRE
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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




--- Comment #19 from Zoltan Herczeg <hzmester@???> 2012-09-28 16:10:57 ---
I added the JIT support for this feature.

However, I am experiencing a crash in 64 bit and -O3 which I think is unrelated
to the JIT support.

re> /\x{3a3}*\x{3c2}/8iBZ


Program received signal SIGSEGV, Segmentation fault.
check_char_prop (c=-16874, ptype=9, pdata=30, negated=0) at
../pcre-8.32/pcre_compile.c:3001
warning: Source file is more recent than executable.
3001      p = PRIV(ucd_caseless_sets) + prop->caseset;


#0  check_char_prop (c=-16874, ptype=9, pdata=30, negated=0) at
../pcre-8.32/pcre_compile.c:3001
#1  0x000000000040f421 in check_auto_possessive (previous=0x7fffffffbe13
"\020\t\036", utf=1,
    ptr=0x6d9020 "", options=<value optimized out>, cd=0x7fffffffce10)
    at ../pcre-8.32/pcre_compile.c:3135
#2  0x00000000004132d4 in compile_branch (options=<value optimized out>,
    codeptr=<value optimized out>, ptrptr=<value optimized out>,
    errorcodeptr=<value optimized out>, lookbehind=<value optimized out>,
    reset_bracount=<value optimized out>, skipbytes=<value optimized out>,
cond_depth=0,
    firstcharptr=0x7fffffffcec8, reqcharptr=0x7fffffffcec4, bcptr=0x0,
cd=0x7fffffffce10,
    lengthptr=0x7fffffffcecc) at ../pcre-8.32/pcre_compile.c:4826


I suspect the 'c' variable is not initialized in check_auto_possessive since
its value is -16874.


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