Re: cvs: php-src /build order_by_dep.awk /ext/date config.m4 config0.m4 php_date.c ZendEngine2 zend.c

From: Date: Wed, 13 May 2009 08:52:14 +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 4  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-57762@lists.php.net to get a copy of this message
Derick Rethans wrote:
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?
Not in general, but it'll fix error logging for all extensions initialized after ext/date. Thanks. Dmitry.
regards, Derick


« previous php.cvs (#57762) next »