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

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

> Yes, that could be the bug that was fixed by the patch below. Have you
> tried with this patch?


Hm. It seems to have chopped the patch (I put it after my sig). Here it
is again:

--- 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
{




Philip

--
Philip Hazel