Re: cvs: php-src /ext/date php_date.c
| From: | Ilia Alshanetsky | Date: | Fri, 23 Nov 2007 13:50:26 +0000 |
| Subject: | Re: cvs: php-src /ext/date php_date.c | ||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-47297@lists.php.net to get a copy of this message | ||
There is still a problem because if you had an exception handler you'd have the same problem. if the constructor fails it should destroy the created object.
On 23-Nov-07, at 5:01 AM, Hannes Magnusson wrote:
On Nov 23, 2007 1:15 AM, Ilia Alshanetsky <iliaa@php.net> wrote:Ilia AlshanetskyYou are misreading the bug report. It doesn't really have anything to do with the date extension. The problem is that exceptions thrown via zend_parse_parameters() are caught by a user defined error handler (which should obviously not catch exceptions). -Hannes --PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpiliaa Fri Nov 23 00:15:37 2007 UTCModified files: /php-src/ext/date php_date.c Log: MFB: Fixed bug #43377 (PHP crashes with invalid argument for DateTimeZone)