Re: svn: /php/php-src/branches/PHP_5_3/main/ output.c
| From: | Johannes Schlüter | Date: | Fri, 03 Dec 2010 13:39:52 +0000 |
| Subject: | Re: svn: /php/php-src/branches/PHP_5_3/main/ output.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-64016@lists.php.net to get a copy of this message | ||
Test? :-)
And thanks for the fix.
On Fri, 2010-12-03 at 13:20 +0000, Jani Taskinen wrote:
> 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;
> }
>
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php