Re: [pcre-dev] [Bug 733] pcre_fullinfo() returns wrongPCRE_…

Top Page
Delete this message
Author: Philip Hazel
Date:  
To: Issaana
CC: pcre-dev
Subject: Re: [pcre-dev] [Bug 733] pcre_fullinfo() returns wrongPCRE_INFO_NAMECOUNT on some patterns
On Wed, 16 Jul 2008, Issaana@??? wrote:

> --- pcre-7.7/pcre_compile.c Mon Apr 28 16:06:46 2008
> +++ pcre_compile.c  Wed Jul 16 01:55:36 2008
> @@ -4931,7 +4931,7 @@
>                 (lengthptr == NULL || *lengthptr == 2 + 2*LINK_SIZE))
>              {
>              cd->external_options = newoptions;
> -            options = newoptions;
> +            *optionsptr = options = newoptions;
>              }
>           else
>              {

>
> "[Pcre-svn] [360]" includes a modification of the effect same as the above.


That's a recent patch (8.0/11). Dmitry, please try this patch and see if
it fixes the problem.

[I guess I should have remembered that, but the test that first showed
it up *did* crash on my box.]


Philip

--
Philip Hazel