cvs: php4(PHP_4_3) /main main.c

From: Date: Wed, 19 Feb 2003 16:17:34 +0000
Subject: cvs: php4(PHP_4_3) /main main.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-19010@lists.php.net to get a copy of this message
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);

« previous php.cvs (#19010) next »