Re: Stack overflow in ext/pcre

From: Date: Fri, 02 Nov 2001 17:17:27 +0000
Subject: Re: Stack overflow in ext/pcre
References: 1 2 3 4 5  Groups: php.dev 
Request: Send a blank email to php-dev+get-69537@lists.php.net to get a copy of this message
On Fri, 02 Nov 2001, Sebastian Bergmann wrote: > Andrei Zmievski wrote: > > No. This is a limitation of the PCRE library, which manifests itself > > when you work with very long strings and fairly complex patterns. > > Can't we catch this in our extension? Crashes are not nice :) It really depends both on the string *and* the pattern used. Short of doing setjmp/longjmp, I don't see a good way of dealing with it, and even that is evil. -Andrei The Heineken Uncertainty Principle: You can never be sure how many beers you had last night.

« previous php.dev (#69537) next »