[pcre-dev] [Bug 1722] New: crash while using regex /^((?!hu…

Página superior
Eliminar este mensaje
Autor: admin
Fecha:  
A: pcre-dev
Asunto: [pcre-dev] [Bug 1722] New: crash while using regex /^((?!hub|data_engine|nads_|heartbeat_engine2|queuemon|request_monitoring|critical_component_monitor|weblogic).)*$/
https://bugs.exim.org/show_bug.cgi?id=1722

            Bug ID: 1722
           Summary: crash while using regex
                    /^((?!hub|data_engine|nads_|heartbeat_engine2|queuemon
                    |request_monitoring|critical_component_monitor|weblogi
                    c).)*$/
           Product: PCRE
           Version: 8.34
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
          Assignee: ph10@???
          Reporter: pankaj-g@???
                CC: pcre-dev@???


HI

Issue :
crash while using regex
/^((?!hub|data_engine|nads_|heartbeat_engine2|queuemon|request_monitoring|critical_component_monitor|weblogic).)*$/

also with /^((?!ext4).)*$/

we are using pcre_exec.c[] in our app for matching processes but while using
regex as mention above our app is crashing .


CALL STACK OF CRASH:


#5693 0x00000000004468c8 in match (
    eptr=0x836021
"home/oracle/app/oracle/product/12.1.0/dbhome_1/jdk/jre/bin/java
-Doracle.installer.not_bootstrap=true
-DCV_HOME=/home/oracle/app/oracle/product/12.1.0/dbhome_1
-DORACLE_HOME=/home/oracle/app/oracle/pr"...,
    ecode=0x82aaa6 "y",
    mstart=0x836020
"/home/oracle/app/oracle/product/12.1.0/dbhome_1/jdk/jre/bin/java
-Doracle.installer.not_bootstrap=true
-DCV_HOME=/home/oracle/app/oracle/product/12.1.0/dbhome_1
-DORACLE_HOME=/home/oracle/app/oracle/p"...,
    offset_top=4, md=0x7fffffffd1f0, eptrb=0x0, rdepth=2) at pcre_exec.c:2043
#5694 0x00000000004444cc in match (
    eptr=0x836020
"/home/oracle/app/oracle/product/12.1.0/dbhome_1/jdk/jre/bin/java
-Doracle.installer.not_bootstrap=true
-DCV_HOME=/home/oracle/app/oracle/product/12.1.0/dbhome_1
-DORACLE_HOME=/home/oracle/app/oracle/p"...,
---Type <return> to continue, or q <return> to quit---
    ecode=0x82a9c5 "\205",
    mstart=0x836020
"/home/oracle/app/oracle/product/12.1.0/dbhome_1/jdk/jre/bin/java
-Doracle.installer.not_bootstrap=true
-DCV_HOME=/home/oracle/app/oracle/product/12.1.0/dbhome_1
-DORACLE_HOME=/home/oracle/app/oracle/p"...,
    offset_top=2, md=0x7fffffffd1f0, eptrb=0x0, rdepth=1) at pcre_exec.c:983
#5695 0x000000000044620a in match (
    eptr=0x836020
"/home/oracle/app/oracle/product/12.1.0/dbhome_1/jdk/jre/bin/java
-Doracle.installer.not_bootstrap=true
-DCV_HOME=/home/oracle/app/oracle/product/12.1.0/dbhome_1
-DORACLE_HOME=/home/oracle/app/oracle/p"...,
    ecode=0x82a9c4 "\222\205",
    mstart=0x836020
"/home/oracle/app/oracle/product/12.1.0/dbhome_1/jdk/jre/bin/java
-Doracle.installer.not_bootstrap=true
-DCV_HOME=/home/oracle/app/oracle/product/12.1.0/dbhome_1
-DORACLE_HOME=/home/oracle/app/oracle/p"...,
    offset_top=2, md=0x7fffffffd1f0, eptrb=0x0, rdepth=0) at pcre_exec.c:1861
#5696 0x00000000004619f0 in pcre_exec (argument_re=0x82a980, extra_data=0x0,
    subject=0x836020
"/home/oracle/app/oracle/product/12.1.0/dbhome_1/jdk/jre/bin/java
-Doracle.installer.not_bootstrap=true
-DCV_HOME=/home/oracle/app/oracle/product/12.1.0/dbhome_1
-DORACLE_HOME=/home/oracle/app/oracle/p"...,
    length=3092, start_offset=0, options=0, offsets=0x7fffffffd3b0,
    offsetcount=99) at pcre_exec.c:6945
#5697 0x0000000000433a79 in cslRegExpMatch (
    str=0x836020
"/home/oracle/app/oracle/product/12.1.0/dbhome_1/jdk/jre/bin/java
-Doracle.installer.not_bootstrap=true
-DCV_HOME=/home/oracle/app/oracle/produ---Type <return> to continue, or q
<return> to quit---
ct/12.1.0/dbhome_1 -DORACLE_HOME=/home/oracle/app/oracle/p"...,
    pattern=0x82a980) at cslRegExp.c:278
#5698 0x0000000000425916 in MatchRegExpCase (
    sValue=0x836020
"/home/oracle/app/oracle/product/12.1.0/dbhome_1/jdk/jre/bin/java
-Doracle.installer.not_bootstrap=true
-DCV_HOME=/home/oracle/app/oracle/product/12.1.0/dbhome_1
-DORACLE_HOME=/home/oracle/app/oracle/p"...,
    pRegExCmp=0x82a980, dummy=0) at MatchRegExpCase.c:137
#5699 0x0000000000413fb8 in ProcessMatch (psP=0x836c40, psW=0x7fffffffd680,
    allPs=0x837ff0) at processes.c:3221
#5700 0x0000000000414e05 in cmd_list_processes (cb=0x810e10, pdsArgs=0x82a680)
    at processes.c:3601
#5701 0x00000000004727cb in _doCallback (snims=0x828e70, nmsg=0x82a340,
    cb=0x810e10) at nimdisp.c:298
#5702 0x0000000000472b45 in _dispatch (snims=0x828e70) at nimdisp.c:390
#5703 0x00000000004739a4 in nimSessionDispatch (list=0x811440, millisec=1000,
    breakOnTimeout=1) at nimdisp.c:914
#5704 0x0000000000422bd6 in main (argc=1, argv=0x7fffffffe568)
    at processes.c:7853


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