Re: cvs: php-src /ext/standard string.c
| From: | Arnaud Le Blanc | Date: | Mon, 24 Nov 2008 19:34:19 +0000 |
| Subject: | Re: cvs: php-src /ext/standard string.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-54453@lists.php.net to get a copy of this message | ||
On Monday 24 November 2008 20:31:02 Arnaud Le Blanc wrote:
> lbarnaud Mon Nov 24 19:31:02 2008 UTC
>
> Modified files:
> /php-src/ext/standard string.c
> Log:
Log message should have been:
Fix invalid read in strtr().
>
>
> http://cvs.php.net/viewvc.cgi/php-
src/ext/standard/string.c?r1=1.685&r2=1.686&diff_format=u
> Index: php-src/ext/standard/string.c
> diff -u php-src/ext/standard/string.c:1.685 php-
src/ext/standard/string.c:1.686
> --- php-src/ext/standard/string.c:1.685 Mon Nov 24 19:21:20 2008
> +++ php-src/ext/standard/string.c Mon Nov 24 19:31:02 2008
> @@ -18,7 +18,7 @@
> +----------------------------------------------------------------------+
> */
>
> -/* $Id: string.c,v 1.685 2008/11/24 19:21:20 lbarnaud Exp $ */
> +/* $Id: string.c,v 1.686 2008/11/24 19:31:02 lbarnaud Exp $ */
>
> /* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
>
> @@ -3986,7 +3986,7 @@
> }
> if (can_optimize) {
> for (i = trlen; i < str_to_len; i++) {
> - if (str_from[i] > 255) {
> + if (str_to[i] > 255) {
> can_optimize = 0;
> break;
> }
>
>
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>