[pcre-dev] [Bug 572] PHP 5.2.3 with PCRE 6.7: repeated subpa…

Top Page
Delete this message
Author: Philip Hazel
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 572] PHP 5.2.3 with PCRE 6.7: repeated subpattern is too long at ...
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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




--- Comment #2 from Philip Hazel <ph10@???> 2007-08-03 10:25:25 ---
It turns out that, following the major refactoring of change 7.0/17, it is now
possible to implement the checks for integer overflow when computing a pattern
length in a much more dynamic manner. I have done this, and as a consequence, I
have been able to abolish the MAX_DUPLENGTH parameter altogether. This was the
limit that caused the error message you were seeing. I have made a test release
for you to test. You can find it in

ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-7.3-RC3.tar.gz
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-7.3-RC3.tar.bz2
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-7.3-RC3.zip

I have not changed the other parameters you mentioned, as they were not causing
the error you reported. Please test this test release and let me know if it
solves your problem, or whether the other parameters do actually matter to you.


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