Szerző: Sheri Dátum: Címzett: pcre-dev Tárgy: Re: [pcre-dev] [Bug 843] PCRE library segfaults on random input
Philip Hazel wrote: > 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
>
> *