Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22716 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6825 invoked by uid 1010); 11 Apr 2006 18:35:14 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 6810 invoked from network); 11 Apr 2006 18:35:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Apr 2006 18:35:13 -0000 X-Host-Fingerprint: 195.197.172.115 gw01.mail.saunalahti.fi Linux 2.4/2.6 Received: from ([195.197.172.115:51291] helo=gw01.mail.saunalahti.fi) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id F4/4C-19715-0E6FB344 for ; Tue, 11 Apr 2006 14:35:13 -0400 Received: from nest.netphobia.fi (YYYMYDCCCXXVIII.dsl.saunalahti.fi [85.76.33.29]) by gw01.mail.saunalahti.fi (Postfix) with ESMTP id 749E2118B13; Tue, 11 Apr 2006 21:35:05 +0300 (EEST) Received: from nest.netphobia.fi (nest.netphobia.fi [127.0.0.1]) by nest.netphobia.fi (8.13.1/8.13.1) with ESMTP id k3BIZ7FJ023251; Tue, 11 Apr 2006 21:35:07 +0300 Received: from localhost (jani@localhost) by nest.netphobia.fi (8.13.1/8.13.1/Submit) with ESMTP id k3BIZ7vA023248; Tue, 11 Apr 2006 21:35:07 +0300 Date: Tue, 11 Apr 2006 21:35:07 +0300 (EEST) Reply-To: Jani Taskinen To: Andrei Zmievski cc: PHP Internals , Ilia Alshanetsky In-Reply-To: <43e2d0beeea44b0a7a5ab9a0fefc5fb5@gravitonic.com> Message-ID: References: <43e2d0beeea44b0a7a5ab9a0fefc5fb5@gravitonic.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: [PHP-DEV] PCRE error handling patch From: sniper@iki.fi (Jani Taskinen) Sounds to me like a bug fix..all those recursion bugs in the db.. :) --Jani On Tue, 11 Apr 2006, Andrei Zmievski wrote: > I made a patch (against HEAD currently only) that makes it possible to set > runtime limits on backtracking and recursion. It also implements > preg_last_error() that lets users check whether there was an execution error > (such as limit exceeded or bad UTF-8 or whatever). > > Ilia, do you think it might make it into 5.1.3? > > http://www.php.net/~andrei/pcre.diff > > -Andrei > >