Mark Baker wrote:
On Wed, Nov 29, 2006 at 12:59:47PM +0100, Tom Parker wrote:
I've just been doing the test that Olivier Trichet mentioned with
pcretest, with a file containing 30,000 Z's, and I don't get a crash.
This is with libpcre3 6.7-1 on i386.
I can reproduce it with pcregrep; no idea why pcretest might not suffer
from it. It crashes when it gets to 8192 recursive instances of the
match function, possibly due to running out of stack space?
You are looking for a pattern of (.)* I assume?
I was looking for a ^(.)*$ pattern, but I've just double-checked with
(.)* and ^(.)*, none of them crash pcretest. pcregrep (6.7-1) also
doesn't crash with that pattern. There appears to be something different
about my system... where exactly does pcregrep crash? A stack trace
would be nice.
Tom Parker
--
[EMAIL PROTECTED] - http://tevp.net
Illegitimus non carborundum
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]