mike Tue Jun 6 22:13:23 2006 UTC
Modified files:
/php-src/main output.c
Log:
- fix SEGV in php_output_handler_started()
http://cvs.php.net/viewcvs.cgi/php-src/main/output.c?r1=1.181&r2=1.182&diff_format=u
Index: php-src/main/output.c
diff -u php-src/main/output.c:1.181 php-src/main/output.c:1.182
--- php-src/main/output.c:1.181 Tue Jun 6 11:08:45 2006
+++ php-src/main/output.c Tue Jun 6 22:13:23 2006
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: output.c,v 1.181 2006/06/06 11:08:45 mike Exp $ */
+/* $Id: output.c,v 1.182 2006/06/06 22:13:23 mike Exp $ */
#ifndef PHP_OUTPUT_DEBUG
# define PHP_OUTPUT_DEBUG 0
@@ -561,7 +561,7 @@
int i, count = php_output_get_level(TSRMLS_C);
if (count) {
- handlers = *(php_output_handler ***)
zend_stack_base(&OG(handlers));
+ handlers = (php_output_handler **)
zend_stack_base(&OG(handlers));
for (i = 0; i < count; ++i) {
if (!zend_binary_zval_strcmp(handlers[i]->name, name)) {
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php