[pcre-dev] [Bug 733] pcre_fullinfo() returns wrong PCRE_INF…

Kezdőlap
Üzenet törlése
Szerző: Philip Hazel
Dátum:  
Címzett: pcre-dev
Tárgy: [pcre-dev] [Bug 733] pcre_fullinfo() returns wrong PCRE_INFO_NAMECOUNT on some patterns
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=733




--- Comment #11 from Philip Hazel <ph10@???> 2008-07-16 14:42:53 ---
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


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email