cvs: php-src /main output.c

From: Date: Tue, 06 Jun 2006 22:13:23 +0000
Subject: cvs: php-src /main output.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-38635@lists.php.net to get a copy of this message
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)) {

« previous php.cvs (#38635) next »