tony2001 Fri Sep 21 13:08:00 2007 UTC Modified files: (Branch: PHP_5_2) /php-src/main output.c Log: initialize all fields of the struct (it's generally good idea even though they should not be used) http://cvs.php.net/viewvc.cgi/php-src/main/output.c?r1=1.167.2.3.2.3&r2=1.167.2.3.2.4&diff_format=u Index: php-src/main/output.c diff -u php-src/main/output.c:1.167.2.3.2.3 php-src/main/output.c:1.167.2.3.2.4 --- php-src/main/output.c:1.167.2.3.2.3 Mon Apr 16 02:25:24 2007 +++ php-src/main/output.c Fri Sep 21 13:08:00 2007 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: output.c,v 1.167.2.3.2.3 2007/04/16 02:25:24 shire Exp $ */ +/* $Id: output.c,v 1.167.2.3.2.4 2007/09/21 13:08:00 tony2001 Exp $ */ #include "php.h" #include "ext/standard/head.h" @@ -430,6 +430,8 @@ tmp_buf.chunk_size = chunk_size; tmp_buf.status = 0; tmp_buf.internal_output_handler = NULL; + tmp_buf.internal_output_handler_buffer = NULL; + tmp_buf.internal_output_handler_buffer_size = 0; tmp_buf.handler_name = estrdup(handler_name&&handler_name[0]?handler_name:OB_DEFAULT_HANDLER_NAME); tmp_buf.erase = erase;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php