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

トップ ページ
このメッセージを削除
著者: Sheri
日付:  
To: pcre-dev
題目: 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