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

Kezdőlap
Üzenet törlése
Szerző: Sheri
Dátum:  
Címzett: pcre-dev
Tárgy: Re: [pcre-dev] [Bug 843] PCRE library segfaults on random input
Philip Hazel wrote:
> I have figured out how the previously identified bug could cause the
> effect that you see. Please try the patch below, which should fix it.
>
> Philip
>
>

Works, now regcomp returns non-zero, which can be used to prevent use of
regexec. If the erroneous regexp is fed to regexec, there is a still a
crash (and my library doesn't use stack for recursion).

Regards,
Sheri