svn: /php/php-src/branches/PHP_5_3/main/ output.c
| From: | Jani Taskinen | Date: | Fri, 03 Dec 2010 13:20:13 +0000 |
| Subject: | svn: /php/php-src/branches/PHP_5_3/main/ output.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-64015@lists.php.net to get a copy of this message | ||
jani Fri, 03 Dec 2010 13:20:13 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=305939
Log:
- Fix leaks and crash bug when passing the callback as variable
Changed paths:
U php/php-src/branches/PHP_5_3/main/output.c
Modified: php/php-src/branches/PHP_5_3/main/output.c
===================================================================
--- php/php-src/branches/PHP_5_3/main/output.c 2010-12-03 10:15:06 UTC (rev 305938)
+++ php/php-src/branches/PHP_5_3/main/output.c 2010-12-03 13:20:13 UTC (rev 305939)
@@ -745,7 +745,7 @@
long chunk_size=0;
zend_bool erase=1;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|zlb", &output_handler,
&chunk_size, &erase) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|z/lb", &output_handler,
&chunk_size, &erase) == FAILURE) {
return;
}