Re: cvs: php-src(PHP_5_3) / NEWS /ext/standard url_scanner_ex.c /ext/standard/tests/general_functions bug44394.phpt bug44394_2.phpt
| From: | Jani Taskinen | Date: | Wed, 12 Mar 2008 09:37:37 +0000 |
| Subject: | Re: cvs: php-src(PHP_5_3) / NEWS /ext/standard url_scanner_ex.c /ext/standard/tests/general_functions bug44394.phpt bug44394_2.phpt | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-49069@lists.php.net to get a copy of this message | ||
The bug was reported for PHP_5_2 so why don't you fix it there, it's
about to be released soonish..
--Jani
On Wed, 2008-03-12 at 02:40 +0000, Felipe Pena wrote:
> felipe Wed Mar 12 02:40:57 2008 UTC
>
> Added files: (Branch: PHP_5_3)
> /php-src/ext/standard/tests/general_functions bug44394.phpt
> bug44394_2.phpt
>
> Modified files:
> /php-src NEWS
> /php-src/ext/standard url_scanner_ex.c
> Log:
> Fixed bug #44394 (Last two bytes missing from output)
>
>
>
> http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.134&r2=1.2027.2.547.2.965.2.135&diff_format=u
> Index: php-src/NEWS
> diff -u php-src/NEWS:1.2027.2.547.2.965.2.134 php-src/NEWS:1.2027.2.547.2.965.2.135
> --- php-src/NEWS:1.2027.2.547.2.965.2.134 Mon Mar 10 11:19:24 2008
> +++ php-src/NEWS Wed Mar 12 02:40:56 2008
> @@ -126,6 +126,7 @@
> - Fixed possible crash in ext/soap because of uninitialized value. (Zdash Urf)
> - Fixed PECL bug #12431 (OCI8 ping functionality is broken). (Oracle Corp.)
>
> +- Fixed bug #44394 (Last two bytes missing from output). (Felipe)
> - Fixed bug #44336 (Improve pcre UTF-8 string matching performance).
> (frode at coretrek dot com, Nuno)
> - Fixed bug #44214 (Crash using preg_replace_callback() and global variable).
>
> http://cvs.php.net/viewvc.cgi/php-src/ext/standard/url_scanner_ex.c?r1=1.95.2.4.2.3.2.2&r2=1.95.2.4.2.3.2.3&diff_format=u
> Index: php-src/ext/standard/url_scanner_ex.c
> diff -u php-src/ext/standard/url_scanner_ex.c:1.95.2.4.2.3.2.2
> php-src/ext/standard/url_scanner_ex.c:1.95.2.4.2.3.2.3
> --- php-src/ext/standard/url_scanner_ex.c:1.95.2.4.2.3.2.2 Wed Oct 10 09:27:13 2007
> +++ php-src/ext/standard/url_scanner_ex.c Wed Mar 12 02:40:57 2008
> @@ -18,7 +18,7 @@
> +----------------------------------------------------------------------+
> */
>
> -/* $Id: url_scanner_ex.c,v 1.95.2.4.2.3.2.2 2007/10/10 09:27:13 jani Exp $ */
> +/* $Id: url_scanner_ex.c,v 1.95.2.4.2.3.2.3 2008/03/12 02:40:57 felipe Exp $ */
>
> #include "php.h"
>
> @@ -1007,7 +1007,7 @@
> size_t len;
>
> if (BG(url_adapt_state_ex).url_app.len != 0) {
> - *handled_output = url_adapt_ext(output, output_len, &len, (zend_bool) (mode &
> PHP_OUTPUT_HANDLER_END ? 1 : 0) TSRMLS_CC);
> + *handled_output = url_adapt_ext(output, output_len, &len, (zend_bool) (mode &
> (PHP_OUTPUT_HANDLER_END | PHP_OUTPUT_HANDLER_CONT) ? 1 : 0) TSRMLS_CC);
> if (sizeof(uint) < sizeof(size_t)) {
> if (len > UINT_MAX)
> len = UINT_MAX;
>
>
> http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug44394.phpt?view=markup&rev=1.1
> Index: php-src/ext/standard/tests/general_functions/bug44394.phpt
> +++ php-src/ext/standard/tests/general_functions/bug44394.phpt
>
>
> http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug44394_2.phpt?view=markup&rev=1.1¦‘!@´¾M4
> zÉ8-3y
> Index: php-src/ext/standard/tests/general_functions/bug44394_2.phpt
> +++ php-src/ext/standard/tests/general_functions/bug44394_2.phpt
>
>
>
--
Patches/Donations: http://pecl.php.net/~jani/