pajoye          Sun Feb 25 02:45:06 2007 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/ext/gd/libgd       gdft.c 
  Log:
  - sync with libgd.org, patch from Kees Cook
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/gd/libgd/gdft.c?r1=1.36.4.4&r2=1.36.4.5&diff_format=u
Index: php-src/ext/gd/libgd/gdft.c
diff -u php-src/ext/gd/libgd/gdft.c:1.36.4.4 
php-src/ext/gd/libgd/gdft.c:1.36.4.5
--- php-src/ext/gd/libgd/gdft.c:1.36.4.4        Fri Feb 23 00:58:49 2007
+++ php-src/ext/gd/libgd/gdft.c Sun Feb 25 02:45:06 2007
@@ -986,7 +986,7 @@
                                        } else {
                                                ch = c & 0xFF;  /* don't extend 
sign */
                                        }
-                                       next++;
+                                       if (*next) next++;
                                }
                                break;
                        case gdFTEX_Big5: {

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to