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

Top Pagina
Delete this message
Auteur: Sheri
Datum:  
Aan: pcre-dev
Onderwerp: 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
>
>

*

+        regexp    {re_pcre=0x00000000 re_nsub=3435973836 
re_erroffset=51 }    regex_t


*