phanto Wed Feb 19 11:17:34 2003 EDT
Modified files: (Branch: PHP_4_3)
/php4/main main.c
Log:
MFH
Index: php4/main/main.c
diff -u php4/main/main.c:1.512.2.10 php4/main/main.c:1.512.2.11
--- php4/main/main.c:1.512.2.10 Sat Feb 15 15:23:12 2003
+++ php4/main/main.c Wed Feb 19 11:17:34 2003
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: main.c,v 1.512.2.10 2003/02/15 20:23:12 sniper Exp $ */
+/* $Id: main.c,v 1.512.2.11 2003/02/19 16:17:34 phanto Exp $ */
/* {{{ includes
*/
@@ -915,6 +915,10 @@
void php_request_shutdown(void *dummy)
{
TSRMLS_FETCH();
+
+ /* EG(opline_ptr) points into nirvana and therefore cannot be safely accessed
+ inside zend_executor callback functions. */
+ EG(opline_ptr) = NULL;
zend_try {
php_end_ob_buffers((zend_bool)(SG(request_info).headers_only?0:1)
TSRMLS_CC);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php