Re: [pcre-dev] [Bug 843] PCRE library segfaults on random in…

トップ ページ
このメッセージを削除
著者: Philip Hazel
日付:  
To: Sheri
CC: pcre-dev
題目: Re: [pcre-dev] [Bug 843] PCRE library segfaults on random input
On Thu, 23 Apr 2009, Sheri wrote:

> I'm not a programmer but just for grins I compiled and ran it under
> Windows MSVC and regcomp returned zero. That didn't happen with a
> pattern where the error was a missing parentheses. The documentation
> says "the yield of regcomp() is zero on success, and non-zero
> otherwise," so there would seem to be an issue here, unless the above
> was a trick question.


Hmm. That *is* interesting. What was the value set in the "regexp"
variable after the call to regcomp?

Philip

--
Philip Hazel