Re: cvs: php-src /build order_by_dep.awk /ext/date config.m4 config0.m4 php_date.c ZendEngine2 zend.c
| From: | Derick Rethans | Date: | Wed, 13 May 2009 08:27:54 +0000 |
| Subject: | Re: cvs: php-src /build order_by_dep.awk /ext/date config.m4 config0.m4 php_date.c ZendEngine2 zend.c | ||
| References: | 1 2 3 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-57761@lists.php.net to get a copy of this message | ||
On Wed, 13 May 2009, Stanislav Malyshev wrote:
> > 2) Uninitialized DATEG(tzcache. It's initialized only during RINIT() so any
> > error messages befor this may crash PHP.
>
> This isn't the first time we see extension being used before initialization.
> Maybe we need some infrastructure to prevent that.
In this case, I don't see why I can't init the tzcache in MINIT()
though. But would that solve things?
regards,
Derick
--
http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org
twitter: @derickr