[pcre-dev] [Bug 1722] crash while using regex /^((?!hub|dat…

Kezdőlap
Üzenet törlése
Szerző: admin
Dátum:  
Címzett: pcre-dev
Tárgy: [pcre-dev] [Bug 1722] 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

--- Comment #5 from Philip Hazel <ph10@???> ---
(In reply to pankaj from comment #4)
> Same is reproduce in windows machine too
>
> we are using pcre_exec function in following format:
>
> pcre_exec (pattern, hints, str, len, 0,options, offsets, 99);
> for matching string
>     
> where pattern =
> /^((?!
> hub|data_engine|nads_|heartbeat_engine2|queuemon|request_monitoring|critical_
> component_monitor|weblogic).)*$/
> hints = 0
> str = %systemroot%\system32\csrss.exe objectdirectory=\windows
> sharedsection=1024,20480,768 windows=on subsystemtype=windows
> serverdll=basesrv,1 serverdll=winsrv:userserverdllinitialization,3
> serverdll=winsrv:conserverdllinitialization,2 serverdll=sxssrv,4
> profilecontrol=off maxrequestthreads=16
> len = strlen(str) =290
> options=0
> offsets[99] = 0;


I have tried this pattern with this string in pcretest, and it works without
any problem. It matches the entire subject string. When you say
pattern=something, I assume you really mean that
pattern=pcre_compile(something,...) that is, pattern is the result of calling
pcre_compile() on that string. What options did you use for pcre_compile()?

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